Skip to content

Instantly share code, notes, and snippets.

@kuonvu
Forked from joemaffia/git-clear-cache.sh
Created October 22, 2018 07:48
Show Gist options
  • Save kuonvu/3fc113aa7d80553f406b5ed3f7d565d7 to your computer and use it in GitHub Desktop.
Save kuonvu/3fc113aa7d80553f406b5ed3f7d565d7 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