Skip to content

Instantly share code, notes, and snippets.

@stoplion
Created March 20, 2013 02:29
Show Gist options
  • Save stoplion/5201843 to your computer and use it in GitHub Desktop.
Save stoplion/5201843 to your computer and use it in GitHub Desktop.
git ignore a file already commited
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