Saturday, 21 September 2013

Renaming a branch in git

Many a time we do the mistake of calling it something and figuring out that we really meant something else.  Git branch names are no exceptions :)  So here is how you rename a git branch

git branch -m oldname newname
 
 
Thats it. Short and simple in case you were trying to rename git branches

No comments:

Post a Comment