diff --git a/HowtoGit.md b/HowtoGit.md index 83693977..6a1b05aa 100644 --- a/HowtoGit.md +++ b/HowtoGit.md @@ -139,6 +139,18 @@ $ git checkout master $ git branch myfeature master ~~~ +Renommer la branche courante : + +~~~ +$ git branch -m +~~~ + +Renommer une branche autre que la branche courante : + +~~~ +$ git branch -m +~~~ + Travailler sur la branche *myfeature* puis [merger](#git-merge) son travail dans la branche *master* : ~~~