Skip to content

Version is different on a fresh repo clone #1395

@pbalaga

Description

@pbalaga

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions