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 directory>
In the first form, it renames <source>, which must exist and be either a file, symlink or directory, to <destination>. In the second form, the last argument has to be an existing directory; the given sources will be moved into this directory.
The index is updated after successful completion, but the change must still be committed.
-f, --force
-k
-n, --dry-run
Written by Linus Torvalds <m[blue]torvalds@osdl.orgm[][1]> Rewritten by Ryan Anderson <m[blue]ryan@michonline.comm[][2]> Move functionality added by Josef Weidendorfer <m[blue]Josef.Weidendorfer@gmx.dem[][3]>
Documentation by David Greaves, Junio C Hamano and the git-list <m[blue]git@vger.kernel.orgm[][4]>.
Part of the git(1) suite