Forrest logo
back to context overview

git-mv

List of commands for git-mv:

  • git-mv:tldr:29197 git-mv: Move a file inside the repo and add the movement to the next commit.
    $ git mv ${filename} ${new-filename}
    try on your machine
    explain this command
  • git-mv:tldr:d0a92 git-mv: Overwrite the file or directory in the target path if it exists.
    $ git mv --force ${filename_or_directory} ${path-to-destination}
    try on your machine
    explain this command
back to context overview