ALICEPCGTutorial
  • Introduction
  • Introduction
    • Welcome
    • Git
    • General Naming Scheme and Analysis Tasks
    • General Afterburner Introduction
    • Analysis Notes and Papers
  • AliPhysics Implementation and GRID Running
    • GRID and AliRoot/AliPhysics
    • Running AnalysisTasks
    • Supporting Classes and Cut Numbers
    • Integration of Dataset/MC
    • LEGO Trains
    • Download Files from GRID
    • The EMCal Correction Framework
  • Quality Assurance and Energy Calibration of Calorimeters
    • Overview
    • EventQA
    • PhotonQA
    • ClusterQA
    • PrimaryTrackQA
    • Energy Calibration of Calorimeters
    • TPC Spline Creation
  • Cocktail Running and External Input
    • Cocktail Framework Overview
    • Cocktail Framework Intro
    • Link collection from other PWGs
  • Neutral Meson and Direct Photon Analysis - Afterburners
    • Neutral Pion and Eta Analysis
    • Heavy Meson Analysis
    • Merged Cluster Analysis
    • Merged Analysis Toy Model for Momentum Resolution
    • Systematic Uncertainties
    • Combination of Measurements
    • Useful functions
Powered by GitBook
On this page
  • Suggested workflow
  • Basic GIT workflow in our repositories
  • Useful Links

Was this helpful?

  1. Introduction

Git

PreviousWelcomeNextGeneral Naming Scheme and Analysis Tasks

Last updated 3 years ago

Was this helpful?

Git is a very powerful version control system which is very popular (and it is also used for all our software repositories). You are expected to know about Git and to be able to work with it. If you don't know how to push, pull, rebase and configure Git, you should have a look at the given links below and learn about Git.

It is recommended to use a visualization tool as it eases your workflow and gives you direct insight into the state of a repository and the status of all the branches. There are two different tools which are recommended to use:

1: gitk

In general, you can install it via your package manager, for example:

sudo apt-get install gitk

For more information see .

2: tig

In general, you can install it via your package manager, for example:

sudo apt-get install tig

For more information see .

Suggested workflow

Basic GIT workflow in our repositories

Checkout your development branch in the given repository

git checkout UserBranch

make your changes to the macros and/or add new files (i.e. ExtractSignalBinning.h)

git add ExtractSignalBinning.h

Write a commit message and make the commit itself via:

git commit -m "Changed binning for some energy"

Checkout the master branch and rebase to the latest version

git checkout master

git pull --rebase

Checkout your branch again and rebase it to the latest master version

git checkout UserBranch

git rebase master

If everything works with the rebase, then push the changes.

git push origin UserDevel

Afterwards, a merge request can be made on the git repositories website.

Useful Links

gitk
tig
Suggested workflow
General Git tutorial
ALICE Git tutorial