Ubuntu – Why does `git ls-remote –tags` require `git fetch –tags –prune` to work?
I’m working on optimizing my GitHub Actions pipeline. One of the steps involves retrieving the latest tag from my Git repository. Initially, I used the following commands to fetch the latest tag: git fetch --prune --unshallow --tags TAG=$(git describe --tags…