From bb543e20b06c71d2582fc8066227fab470dfa89f Mon Sep 17 00:00:00 2001 From: jcougnoux Date: Fri, 7 Jul 2017 15:41:28 +0200 Subject: [PATCH] Ajout renommage de branche --- HowtoGit.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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* : ~~~