I want every fetch and pull to get tags from origin, replacing local ones if they differ, and delete tags and origin/
branches that are not on origin, so I did this:
git config --global fetch.tags true
git config --global fetch.force true
git config --global fetch.prune true
git config --global fetch.pruneTags true
I still need to type git fetch --force
to "clobber" existing tags. The rest works fine. How do I properly add the force flag to git config?
This is in my .gitconfig:
[fetch]
tags = true
force = true
prune = true
pruneTags = true