Skip to content

Commit

Permalink
docs: mention "-k" for both forms of "git mv"
Browse files Browse the repository at this point in the history
The "git mv" synopsis shows two forms: renaming a file, and
moving files into a directory. They can both make use of the
"-k" flag to ignore errors, so mention it in both places.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jeff King authored and Junio C Hamano committed Dec 12, 2011
1 parent c2857fb commit cfe21f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/git-mv.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ DESCRIPTION
-----------
This script is used to move or rename a file, directory or symlink.

git mv [-f] [-n] <source> <destination>
git mv [-f] [-n] [-k] <source> <destination>
git mv [-f] [-n] [-k] <source> ... <destination directory>

In the first form, it renames <source>, which must exist and be either
Expand Down

0 comments on commit cfe21f0

Please sign in to comment.