Mémo pour renommer une branche locale et sur le serveur git.
1 2 3 4 |
command git checkout mabranche command git -m nouveau_nom command git push origin :mabranche nouveau_nom command git push --set-upstream origin nouveau_nom |
Posté le dans Trucs et astuces du développeur par
Dernière mise à jour :
Mémo pour renommer une branche locale et sur le serveur git.
1 2 3 4 |
command git checkout mabranche command git -m nouveau_nom command git push origin :mabranche nouveau_nom command git push --set-upstream origin nouveau_nom |