Skip to content

Instantly share code, notes, and snippets.

@nickname55
Forked from joemaffia/git-clear-cache.sh
Created November 13, 2022 12:50
Show Gist options
  • Save nickname55/40d724d434390ae8a1401924431ba6e8 to your computer and use it in GitHub Desktop.
Save nickname55/40d724d434390ae8a1401924431ba6e8 to your computer and use it in GitHub Desktop.
Clear git cache
git rm -r --cached .
git add .
git commit -m 'git cache cleared'
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment