git tag ensuring you tag to a commit is up to date

When you're trying to do a git checkout tags/your-tag-name and you cannot get the latest commit, here is what you gotta do. This will force git to update both tags and commit.

git fetch --all --tags -f



Comments

Popular posts from this blog

Windows SSH: Permissions for 'private-key' are too open

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20