Re: [PATCH] Teach git-branch howto rename a branch
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 28, 2006, 08:07 UTC
- Message-ID
- <ekgqku$tqt$1@sea.gmane.org>
- In-Reply-To
- <1164679287192-git-send-email-hjemli@gmail.com>
Lars Hjemli wrote:
Show 7 quoted lines
> This adds a '--rename' option to git branch. If specified, branch > creation becomes branch renaming. > > With a single branchname, the current branch is renamed and .git/HEAD is > updated. > > With two branchnames, the second name is renamed to the first.
Could you please document this new feature?
And wouldn't it be better to use <source> <target>, aka <branch> <newname> like in git-mv and other rename/move commands? "Second name is renamed to the first" although fits with "<branchname> [<start-point>]" is not natural for rename.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git