Skip to content

Instantly share code, notes, and snippets.

@bgadrian
Created September 27, 2014 22:26
Show Gist options
  • Save bgadrian/6dcf9f96d6bff9765826 to your computer and use it in GitHub Desktop.
Save bgadrian/6dcf9f96d6bff9765826 to your computer and use it in GitHub Desktop.
Git remove tracked but ignored files
git rm -r --cached .
git add .
git commit -am "Remove ignored files"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment