Useful git commands

This post is just for my personal reference ๐Ÿ˜‰

To clear the cache for specific file

git rm --cached file.conf

Clear Entire Git Cache

git rm -r --cached .

Delete local tag

git tag -d <tag_name>

Delete remote tag

git push --delete origin <tag_name>