Skip to content

Instantly share code, notes, and snippets.

@zemd
Created February 5, 2014 08:41
Show Gist options
  • Save zemd/8819458 to your computer and use it in GitHub Desktop.
Save zemd/8819458 to your computer and use it in GitHub Desktop.
remove files from git after .gitignore updated
git rm --cached `git ls-files -i --exclude-from=.gitignore`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment