GIT\-MVSection: Git Manual (1)
Index Return to Main Contents
NAMEgit-mv - Move or rename a file, a directory, or a symlink
SYNOPSISgit-mv <options>... <args>...
DESCRIPTIONThis 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 directory>
- Force renaming or moving of a file even if the target exists
- Skip move or rename actions which would lead to an error condition. An error happens when a source is neither existing nor controlled by GIT, or when it would overwrite an existing file unless -f is given.
- Do nothing; only show what would happen
AUTHORWritten by Linus Torvalds <firstname.lastname@example.org> Rewritten by Ryan Anderson <email@example.com> Move functionality added by Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
DOCUMENTATIONDocumentation by David Greaves, Junio C Hamano and the git-list <firstname.lastname@example.org>.
GITPart of the git(7) suite