git-tag

Find latest git tag from the remote git repository

£可爱£侵袭症+ 提交于 2021-02-07 02:57:55
问题 I have to get the latest git tag from the remote git repository. I have used following command for finding the latest tag git ls-remote --tags xxxxx@xxxx.xxxx.net:xxxx.git |grep "\."|grep -v -|grep -v {| sort -n -t. -k3 -k4 This gives me following output c8be4313ae8261214acb6d3d41f9ece8d47a4ad5 refs/tags/v0.2.1 9e776cff51a8bb15f0539b852a819723d1e37c69 refs/tags/v0.2.2 ee1f173f4e7da0996af9f7c91e0952bec8c2358b refs/tags/v0.1.3 5d6777bf2b2e5bae41ae9ab966320c691c1f2ee2 refs/tags/v0.1.4

How push tag without push a commit to remote repository with TortoiseGit?

假如想象 提交于 2020-07-02 11:36:13
问题 A console git client has a git push origin <tag_name> command for pushing a tag without commit to a remote repository. Is there analog in TortoiseGit GUI? 回答1: After Creating the Tag Right click in the repo folder From the context menu select "Git Sync..." Change the "Push" drop down to "Push tags" (this will initiate the push) 回答2: In order to push a specific tag just enter the <tag_name> in the textbox for Local (it is also possible to select the tag on the RefBrowser after clicking on "▶")

How push tag without push a commit to remote repository with TortoiseGit?

梦想的初衷 提交于 2020-07-02 11:35:09
问题 A console git client has a git push origin <tag_name> command for pushing a tag without commit to a remote repository. Is there analog in TortoiseGit GUI? 回答1: After Creating the Tag Right click in the repo folder From the context menu select "Git Sync..." Change the "Push" drop down to "Push tags" (this will initiate the push) 回答2: In order to push a specific tag just enter the <tag_name> in the textbox for Local (it is also possible to select the tag on the RefBrowser after clicking on "▶")