Skip to content

Instantly share code, notes, and snippets.

@lopespm
Created July 10, 2020 23:48
Show Gist options
  • Save lopespm/ab042f5cbf7f28426d42ecfadcfbecc4 to your computer and use it in GitHub Desktop.
Save lopespm/ab042f5cbf7f28426d42ecfadcfbecc4 to your computer and use it in GitHub Desktop.
Remove from repository all git ignored files
# https://stackoverflow.com/a/34435207/1765893
git rm -r --cached .
git add .
git commit -m "Remove all ignored files in .gitignore"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment