Re: Recommended work flow with git to send in patches
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 11 quoted lines
> 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