Merge branch 'jc/branch-doc-consistently-promote-switch' into jch
The documentation for 'git branch' has been updated to consistently use 'git switch -c' instead of 'git checkout -b' in its examples, aligning with the earlier promotion of 'git switch'. * jc/branch-doc-consistently-promote-switch: branch doc: consistently promote 'switch'
This commit is contained in:
commit
dce6c124d7
1 file changed
+1
-1
@@ -411,7 +411,7 @@ $ git switch my2.6.14
|
||||
------------
|
||||
+
|
||||
<1> This step and the next one could be combined into a single step with
|
||||
"checkout -b my2.6.14 v2.6.14".
|
||||
"git switch -c my2.6.14 v2.6.14".
|
||||
|
||||
Delete an unneeded branch::
|
||||
+
|
||||
|
||||
Reference in new issue
Block a user