Skip to content
Discussion options

You must be logged in to vote

The release tags do point to commits. For example, I verified that v7.60.0 can be fetched and checked out, and resolves to commit 2385f1766e54153455f065f0000298ad10201cfd.

There are two different cases worth checking:

  1. The tag is missing locally. Fetch the specific tag from the upstream remote:

    git fetch origin tag v7.60.0

    Replace the tag with the version you want, and origin with your upstream remote's name if it differs. For a shallow clone where you only want that snapshot, git fetch --depth=1 origin tag v7.60.0 also works.

  2. git switch v7.60.0 refuses because the name is a tag rather than a branch. Use detached mode to inspect a release:

    git switch --detach v7.60.0
    git describe --tag…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bluebill1049
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants