Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save 00mjk/087a7727527fd278b085e54cc6714dd2 to your computer and use it in GitHub Desktop.
Save 00mjk/087a7727527fd278b085e54cc6714dd2 to your computer and use it in GitHub Desktop.
A command to stop tracking and entire directory in a Git repo
// Reference: http://stackoverflow.com/questions/936249/stop-tracking-and-ignore-changes-to-a-file-in-git
$ git rm --cached -r <dir>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment