We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fdb68d7 + 80d4d20 commit 26e50c1Copy full SHA for 26e50c1
book/03-git-branching/sections/branch-management.asc
@@ -77,10 +77,10 @@ $ git branch --no-merged master
77
==== Changing a branch name
78
79
[CAUTION]
80
-----
+====
81
Do not rename branches that are still in use by other collaborators.
82
Do not rename a branch like master/main/mainline without having read the section "Changing the master branch name".
83
84
85
Suppose you have a branch that is called _bad-branch-name_ and you want to change it to _corrected-branch-name_, while keeping all history.
86
You also want to change the branch name on the remote (GitHub, GitLab, other server).
0 commit comments