Skip to content

Commit cfe21f0

Browse files
peffgitster
authored andcommitted
docs: mention "-k" for both forms of "git mv"
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c2857fb commit cfe21f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-mv.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ DESCRIPTION
1515
-----------
1616
This script is used to move or rename a file, directory or symlink.
1717

18-
git mv [-f] [-n] <source> <destination>
18+
git mv [-f] [-n] [-k] <source> <destination>
1919
git mv [-f] [-n] [-k] <source> ... <destination directory>
2020

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

0 commit comments

Comments
 (0)