Skip to content

Commit 2343b75

Browse files
committed
Merge branch 'jc/branch-copy-doc'
"git branch -c/-m new old" was not described to copy config, which has been corrected. * jc/branch-copy-doc: branch (doc): -m/-c copies config and reflog
2 parents fc0c491 + 8252ec3 commit 2343b75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-branch.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,14 @@ OPTIONS
125125

126126
-m::
127127
--move::
128-
Move/rename a branch and the corresponding reflog.
128+
Move/rename a branch, together with its config and reflog.
129129

130130
-M::
131131
Shortcut for `--move --force`.
132132

133133
-c::
134134
--copy::
135-
Copy a branch and the corresponding reflog.
135+
Copy a branch, together with its config and reflog.
136136

137137
-C::
138138
Shortcut for `--copy --force`.

0 commit comments

Comments
 (0)