Skip to content

Instantly share code, notes, and snippets.

@alwerner
Last active October 13, 2015 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alwerner/4247645 to your computer and use it in GitHub Desktop.
Save alwerner/4247645 to your computer and use it in GitHub Desktop.
git rm -r --cached .
This removes everything from the index, then just run:
git add .
Commit it:
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