Skip to content

Instantly share code, notes, and snippets.

@gscattolin
Last active March 22, 2021 11:40
Show Gist options
  • Save gscattolin/fd28043e8931358631b33b9c0d2bb21c to your computer and use it in GitHub Desktop.
Save gscattolin/fd28043e8931358631b33b9c0d2bb21c to your computer and use it in GitHub Desktop.
remove cached files after updating gitignore
git rm -rf --cached .
git add .
git commit -m ".gitignore caching"
push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment