Skip to content

Instantly share code, notes, and snippets.

@jaimeguzman
Created June 7, 2015 17:21
Show Gist options
  • Select an option

  • Save jaimeguzman/110f988256428afbfb1d to your computer and use it in GitHub Desktop.

Select an option

Save jaimeguzman/110f988256428afbfb1d to your computer and use it in GitHub Desktop.
ignore-files-that-have-already-been-committed-to-a-git-repository
#http://stackoverflow.com/questions/1139762/ignore-files-that-have-already-been-committed-to-a-git-repository
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment