Skip to content

Instantly share code, notes, and snippets.

@elianderson
Created July 29, 2011 18:18
Show Gist options
  • Save elianderson/1114393 to your computer and use it in GitHub Desktop.
Save elianderson/1114393 to your computer and use it in GitHub Desktop.
GIT commands
Remove tracking on a file (that is in your git ignore already but in the repo) but not delete it:
git rm -r --cached supersecretpasswords.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment