Skip to content

Commit 2d3e7bc

Browse files
HonkingGooseben
andauthored
Small flow improvement
Co-authored-by: Ben Straub <[email protected]>
1 parent eea47f3 commit 2d3e7bc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

book/03-git-branching/sections/branch-management.asc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,8 @@ Now the bad branch name is fully replaced with the corrected branch name.
130130
[WARNING]
131131
====
132132
Changing the name of a branch like master/main/mainline/default will break the integrations, services, helper utilities and build/release scripts that your repository uses.
133-
Read the entire section before making any changes.
134-
Do not attempt this move without first consulting with your co-workers.
135-
Check beforehand where the old branch name is used in your project by doing a thorough search.
133+
Before you do this, make sure you consult with your collaborators.
134+
Also make sure you do a thorough search through your repo and update any references to the old branch name in your code or scripts.
136135
====
137136

138137
Rename your local _master_ branch into _main_ with the following command

0 commit comments

Comments
 (0)