Skip to content

Instantly share code, notes, and snippets.

@mike-at-redspace
Created June 24, 2021 09:30
Show Gist options
  • Save mike-at-redspace/7d5f854cb27dfc50812a6682c3e4e588 to your computer and use it in GitHub Desktop.
Save mike-at-redspace/7d5f854cb27dfc50812a6682c3e4e588 to your computer and use it in GitHub Desktop.
Remove all files ignored by .gitignore from repository
git rm -r --cached .
git add .
git commit -m 'Removed all files that are in the .gitignore'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment