Ajout renommage de branche
This commit is contained in:
parent
138c4c4145
commit
bb543e20b0
12
HowtoGit.md
12
HowtoGit.md
|
@ -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* :
|
||||
|
||||
~~~
|
||||
|
|
Loading…
Reference in a new issue