Skip to content

Instantly share code, notes, and snippets.

@redblue9771
Forked from joemaffia/git-clear-cache.sh
Created December 8, 2019 16:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save redblue9771/57de82738c1c093b3ac6e34bc379b94c to your computer and use it in GitHub Desktop.
Save redblue9771/57de82738c1c093b3ac6e34bc379b94c to your computer and use it in GitHub Desktop.
Clear git cache
git rm -r --cached .
git add .
git commit -am 'git cache cleared'
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment