Skip to content

Instantly share code, notes, and snippets.

@svenporto
Created November 29, 2012 19:53
Show Gist options
  • Save svenporto/4171422 to your computer and use it in GitHub Desktop.
Save svenporto/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