Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 2
    Yes. But how to you fix that? How do you du a checkout of the branch?
    – Martin
    Commented Jul 1, 2019 at 13:45
  • 1
    I fixed that with this stackoverflow.com/a/5719854/573034. The last command (git pull --prune --tags) didn't work so I did git tag -l | xargs git tag -d to remove local tags and git fetch --tags to refetch remote tags
    – Paolo
    Commented Jul 9, 2020 at 7:39
  • This was exactly my problem. The Git warning message doesn't give any clues as to this being a possibility.
    – JoeAC
    Commented Aug 14, 2020 at 3:47