search

Home  >  Q&A  >  body text

Regarding the problem of "^{}" being displayed when viewing tags using git ls-remote.

Use the git ls-remote -h -t git@git.com:xxx/xxx.git command to view the remote repository, as shown below:

122624b5556fca0a78f5a206f121602f0c96ce4a        refs/heads/master
12f2abe52d60c27eb36ab0ac43aa6612419e7d32        refs/tags/v2016-01-04_16-25-24
40265b9e6a65b915d5fd9d89e7a81abe5d17b4e1        refs/tags/v2016-01-04_16-25-24^{}

What does the last ^{} mean? Can it not be displayed?

黄舟黄舟2769 days ago887

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-05-02 09:28:55

    maybe help you:
    http://stackoverflow.com/questions/15472107/when-listing-git-ls-remote-why-theres-after-the-tag-name

    You can use git show <version> to see the difference between the two

    You can also use git show-ref to list logs without ^{}

    reply
    0
  • Cancelreply