summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-10-29 15:43:15 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-29 15:43:15 -0700
commit2343b75ca0181c636e83e788463ada3ea670294d (patch)
tree2d60c6dbcd86ea67c07652314839ddf2e50a8c8c
parentMerge branch 'ma/doc-folder-to-directory' (diff)
parentbranch (doc): -m/-c copies config and reflog (diff)
downloadtgif-2343b75ca0181c636e83e788463ada3ea670294d.tar.xz
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
-rw-r--r--Documentation/git-branch.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index 5449767121..8af42eff89 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -125,14 +125,14 @@ OPTIONS
-m::
--move::
- Move/rename a branch and the corresponding reflog.
+ Move/rename a branch, together with its config and reflog.
-M::
Shortcut for `--move --force`.
-c::
--copy::
- Copy a branch and the corresponding reflog.
+ Copy a branch, together with its config and reflog.
-C::
Shortcut for `--copy --force`.