Skip to content

Instantly share code, notes, and snippets.

@svenkapudija
Created November 29, 2012 19:53
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 svenkapudija/4171422 to your computer and use it in GitHub Desktop.
Save svenkapudija/4171422 to your computer and use it in GitHub Desktop.
Enable .gitignore
// Make sure to commit your changes before
// Removes everything from the index
git rm -r --cached .
// Add all
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