From 3ab7250564d359516f0dff9e2ce5ca4eee3c9508 Mon Sep 17 00:00:00 2001 From: Marcello Lamonaca Date: Mon, 1 Feb 2021 18:50:18 +0100 Subject: [PATCH] Command to rename branches --- Git/git.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Git/git.md b/Git/git.md index ca929e9..d4220cb 100644 --- a/Git/git.md +++ b/Git/git.md @@ -187,6 +187,7 @@ It’s generally recommended creating annotated tags so it's possible to have al `git branch`: show list of all existing branches (* indicates current) `git checkout `: change current branch (update HEAD) and update working directory `git branch -d `: delete specified branch +`git branch -m `: rename a branch without affecting the branch’s history `git merge `: merges into current branch `git merge --continue`: continue previous merge after solving a merge conflinct