[Numpy-discussion] Development workflow
Scott Sinclair
scott.sinclair.za@gmail....
Tue Oct 12 05:09:27 CDT 2010
On 12 October 2010 11:58, David <david@silveregg.co.jp> wrote:
> On 10/12/2010 06:48 PM, Pierre GM wrote:
>>
>> Corollary: how do I branch from a branch ?
>
> You use the branch command:
>
> git branch target_branch source_branch
>
> But generally, if you want to create a new branch to start working on
> it, you use the -b option of checkout:
>
> git branch -b target_branch source_branch
Minor typo alert (to avoid confusing people). The above command should be:
git checkout -b new_branch source_branch
>
> which is equivalent to
>
> git branch target_branch source_branch
> git checkout target_branch
Cheers,
Scott
More information about the NumPy-Discussion
mailing list