22
0
Fork 0

Ajout renommage de branche

This commit is contained in:
jcougnoux 2017-07-07 15:41:28 +02:00
parent 138c4c4145
commit bb543e20b0
1 changed files with 12 additions and 0 deletions

View File

@ -139,6 +139,18 @@ $ git checkout master
$ git branch myfeature master
~~~
Renommer la branche courante :
~~~
$ git branch -m <nouveau nom>
~~~
Renommer une branche autre que la branche courante :
~~~
$ git branch -m <ancien nom> <nouveau nom>
~~~
Travailler sur la branche *myfeature* puis [merger](#git-merge) son travail dans la branche *master* :
~~~