Markus Roberts wrote: > The key trick is to make sure that the middle section of your branch > name (e.g. 0.25.x) is actually the what your branch is based on. > Thus if you do: > > git checkout 0.25.x > git checkout -b ticket/0.25.x/1234 > > etc. you'll be fine.
FWIW, this can be done in one step, and made to 'track" the branch you
created it from, allowing git status to tell you how your branch
differs.
git checkout -t -b ticket/0.25.x/1234 origin/0.25.x
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Faith. Belief without evidence in what is told by one who speaks
without knowledge, of things without parallel.
-- Ambrose Bierce, The Enlarged Devil's Dictionary, 1906
pgpYGEbhfQYEG.pgp
Description: PGP signature
