Skip to content

Commit

Permalink
Merge pull request #1508 from HonkingGoose/bugfix/fix-invalid-style-f…
Browse files Browse the repository at this point in the history
…or-listing-caution-block

Fix invalid style for listing caution block
  • Loading branch information
ben authored Aug 28, 2020
2 parents fdb68d7 + 80d4d20 commit 26e50c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/03-git-branching/sections/branch-management.asc
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ $ git branch --no-merged master
==== Changing a branch name

[CAUTION]
----
====
Do not rename branches that are still in use by other collaborators.
Do not rename a branch like master/main/mainline without having read the section "Changing the master branch name".
----
====

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.
You also want to change the branch name on the remote (GitHub, GitLab, other server).
Expand Down

0 comments on commit 26e50c1

Please sign in to comment.