Browse Source

doc/git-branch: fix awkward wording for "-c"

The description for "-c" is hard to parse. I think the big issue is lack
of commas, but I've also reordered the words to keep the main focus
point of "instead of renaming, copy" together.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Jeff King 4 years ago committed by Junio C Hamano
parent
commit
27dc071b9a
  1. 4
      Documentation/git-branch.txt

4
Documentation/git-branch.txt

@ -78,8 +78,8 @@ renaming. If <newbranch> exists, -M must be used to force the rename @@ -78,8 +78,8 @@ renaming. If <newbranch> exists, -M must be used to force the rename
to happen.

The `-c` and `-C` options have the exact same semantics as `-m` and
`-M`, except instead of the branch being renamed it along with its
config and reflog will be copied to a new name.
`-M`, except instead of the branch being renamed, it will be copied to a
new name, along with its config and reflog.

With a `-d` or `-D` option, `<branchname>` will be deleted. You may
specify more than one branch for deletion. If the branch currently

Loading…
Cancel
Save