Forrest logo
back to context overview

git-rm

List of commands for git-rm:

  • git-rm:tldr:877eb git-rm: Remove file from repository index but keep it untouched locally.
    $ git rm --cached ${filename}
    try on your machine
    explain this command
  • git-rm:tldr:9c025 git-rm: Remove file from repository index and filesystem.
    $ git rm ${filename}
    try on your machine
    explain this command
  • git-rm:tldr:ffa26 git-rm: Remove directory.
    $ git rm -r ${path-to-directory}
    try on your machine
    explain this command
back to context overview