Open jinleileiking opened 1 year ago
https://www.cnblogs.com/michael-xiang/p/13179837.html
$ git describe --tags tag1-2-g026498b 2:表示自打tag tag1 以来有2次提交(commit)g026498b:g 为git的缩写
git -c 'versionsort.suffix=-' \ ls-remote --exit-code --refs --sort='version:refname' --tags <repository> '*.*.*'
//Delete remote: git push -d origin $(git tag -l "tag_prefix*")
// Delete local: git tag -d $(git tag -l "tag_prefix*")
提高gitclone 速度
merge rebase
https://www.cnblogs.com/michael-xiang/p/13179837.html
获得tag
其他
git -c 'versionsort.suffix=-' \ ls-remote --exit-code --refs --sort='version:refname' --tags <repository> '*.*.*'
// Delete local: git tag -d $(git tag -l "tag_prefix*")