0

1.I have many tags in my project, How can I know whether the tag is local or remote easily and clearly?(ls-remote is useful but hardly diff)

2.I run git ls-remote --tags origin it prints

abcde  refs/tags/aaaa
abcee  refs/tags/aaaa^{}  

What does the second line mean?

thx

isherwood
  • 58,414
  • 16
  • 114
  • 157
Henry
  • 531
  • 3
  • 12

1 Answers1

1
  1. How you choose to list the tags should make it clear where they are.

git ls-remote --tags origin obviously lists remote tags on origin.

git tag lists tags locally.

  1. See What does ^{} mean in git? and When listing git-ls-remote why there's "^{}" after the tag name?.
Community
  • 1
  • 1
isherwood
  • 58,414
  • 16
  • 114
  • 157