On a certain branch in a local repo I was working on, gitversion command returns MajoMinorPatch=0.1.0. However, when I make a fresh clone of the same repo, gitversion produces 2.1.0.
Both numbers definitely make sense assuming the first repo is out-of-date. That said, I tried:
- fetching / pulling all branches in the 'out-dated' repo
- deleting
.git/gitversion_cache folder
but the version remains at 0.1.0.
Am I missing the correct way to sync local repo with remote? Was does gitversion expect me to do?