Making GitHub Topic Branches
From GlueXWiki
Revision as of 13:11, 5 July 2017 by Sdobbs (Talk | contribs) (Created page with "Sometimes it's desirable to work on a branch split from an a point previous to the current state of a branch, while including a subset of the changes subsequent to the split p...")
Sometimes it's desirable to work on a branch split from an a point previous to the current state of a branch, while including a subset of the changes subsequent to the split point.
This page describes how to setup such a branch. As an example, a branch for working on the mcsmear program from the first reconstruction launch over the spring 2017 data is shown.
git checkout recon-2017_01-ver01-batch01 ## move to the desired parent branch git checkout -b recon-2017_01-ver01-batch01-mcsmear ## create the topic branch