[git-users] how to create a new empty branch

2013-03-01 Thread lei yang
Hi experts, how to create a new empty branch, any command? Thanks Lei -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [git-users] how to create a new empty branch

2013-03-01 Thread Martin Møller Skarbiniks Pedersen
On 1 March 2013 10:24, lei yang yanglei.f...@gmail.com wrote: Hi experts, how to create a new empty branch, any command? Thanks Lei What do you mean by empty branch ? /Martin -- You received this message because you are subscribed to the Google Groups Git for human beings group. To

Re: [git-users] how to create a new empty branch

2013-03-01 Thread Serge Matveenko
On Fri, Mar 1, 2013 at 1:24 PM, lei yang yanglei.f...@gmail.com wrote: how to create a new empty branch, any command? from http://www.kernel.org/pub//software/scm/git/docs/git-checkout.html : git checkout --orphan new_branch Create a new orphan branch, named new_branch, started from

Re: [git-users] how to create a new empty branch

2013-03-01 Thread Konstantin Khomoutov
On Fri, 1 Mar 2013 17:24:18 +0800 lei yang yanglei.f...@gmail.com wrote: how to create a new empty branch, any command? $ git checkout --orphan newbranch [starting_point] $ git rm -rfq --cached -- You received this message because you are subscribed to the Google Groups Git for human beings