Skip to content

Instantly share code, notes, and snippets.

@stefanopulze
Last active July 31, 2020 07:01
Show Gist options
  • Save stefanopulze/711fd115560ffe0db7ec6b35b0b4351e to your computer and use it in GitHub Desktop.
Save stefanopulze/711fd115560ffe0db7ec6b35b0b4351e to your computer and use it in GitHub Desktop.
How to remove files already added to git after you update .gitignore
# Update your .gitignore then
git rm -r --cached .
git add .
git commit -m "removed useless files"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment