Regarding the problem of "^{}" being displayed when viewing tags using git ls-remote.
黄舟
黄舟 2017-05-02 09:26:55
0
1
909

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?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
Peter_Zhu

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 ^{}

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template