woshidan's loose leaf

ぼんやり勉強しています

リモートのタグのコミットが欲しいときは git ls-remote --tags

$ git ls-remote --tags
From git@github.com:woshidan/tag-test.git
srcdiep0r4vns19wth7aoy399qv2or8or64zrkwd    refs/tags/1.0.0
51eow33h7d87xiye3uunrcb6vl2hieourjd1pzy4    refs/tags/1.0.0^{} // git checkout refs/tags 1.0.0 で飛ぶコミット 
ubg7kxcgqoss7r4zewq103y58e6xj3dmo0ru5mp3    refs/tags/1.1.1
mx00rsw5psy4ge0fssf07j3wc9qjbcuo3dgm78n3    refs/tags/1.1.1^{}
m91sf879ws8deyz1js219im2lpltghr4aqhv5mx9    refs/tags/1.2.0
wx2us06hq8trsloubhqllfaoo8my4qe2wthbgbrg    refs/tags/1.2.0^{}
0ihu1zvz2z1qd94e0cwlk3ba2c88be9xjlsngjsh    refs/tags/2.0.0
kh4hqgokh2uml5ingivvyd0ucvtcy85wmx6li6ii    refs/tags/2.0.0^{}