[impdev] Submitting a patch using Git

Armin Weatherwax armin.weatherwax at googlemail.com
Mon Jan 4 13:20:05 PST 2010


Mike Monkowski schrieb:
> I cloned Jacek's repository, then checked out the "next" branch using
>
> git checkout --track -b next origin/next
git checkout foo
switch to local branch foo

git checkout -b foo
create new local branch foo and switch to it

git checkout -b foo bar
create new local branch foo based on local branch bar and switch to foo

git checkout --track -b foo origin/bar
create new branch local foo based on remote branch origin/bar,  switch 
to foo and add the remote branch origin/bar to the remotes list

good tutorial:  
http://www-cs-students.stanford.edu/~blynn/gitmagic/index.html 

:)
Armin



More information about the ImpDev mailing list