Skip to content

Instantly share code, notes, and snippets.

@ninux
Created February 25, 2014 13:39
Show Gist options
  • Save ninux/67abc556eba11af98e54 to your computer and use it in GitHub Desktop.
Save ninux/67abc556eba11af98e54 to your computer and use it in GitHub Desktop.
cleanup repo with new .gitignore
# http://stackoverflow.com/questions/7075923/resync-git-repo-with-new-gitignore-file
git rm -r --cached .
git add .
git commit -m "cleaned up repo with new gitignore"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment