Skip to content

Instantly share code, notes, and snippets.

@jalberto
Created March 21, 2015 23:49
Show Gist options
  • Save jalberto/91e0f081b6ea23749eb7 to your computer and use it in GitHub Desktop.
Save jalberto/91e0f081b6ea23749eb7 to your computer and use it in GitHub Desktop.
Untrack files from Git usgin gitignore
git rm --cached `git ls-files -i -X .gitignore`
@jalberto
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment