Subject: Re: Recommended work flow with git to send in patches

From: Jakub Narebski <[email-masked]>
Date: Tue, 27 Jul 2010 10:11:38 -0700 (PDT)

Ramkumar Ramachandra <[email-masked]> writes:
> Tong Sun writes:
> > Thanks a lot for the comment.
> > 
> > Could you elaborate it a bit with actual commands, starting from 'git
> > pull git://remote/project master' please?
> 
> $ git symbolic-ref HEAD refs/heads/rollout
> $ rm .git/index # Git recreates it automatically anyway
> $ git add LICENSE
> $ git commit -m "Add LICENSE" # root commit
> $ # git add ... git commit cycle

Ramkumar, in git 1.7.2 you can simply use "git checkout --orphan newbranch".

-- 
Jakub Narebski
Poland
ShadeHawk on #git