Renommer une branche distante

Posted . Visible to the public.
# Rename branch locally    
$ git branch -m ‹old_branch› ‹new_branch›

# Delete the old branch    
$ git push origin :‹old_branch›

# Push the new branch, set local branch to track the new remote
$ git push --set-upstream origin ‹new_branch›
Last edit
olange
Keywords
Git, Renaming, Branch
Posted by olange to Git (2015-07-30 19:43)