2014-07-11 80 views

回答

1

你應該看到標籤具有:

git tag 

(像aws/aws-sdk-java標籤)

see the tags in the repository view

http://wiki.eclipse.org/images/e/e1/RepoMgrBranchesAndTags.png


從那裏,你應該能夠檢出您想要的任何標籤爲了使您的工作樹,以反映標籤:

git checkout 1.8.4 

爲了保持樹枝原樣,但訪問特定/ commit或標籤,可以使用Egit checkout,由robinst建議in the comments

您只是想將「當前分支」更改爲標記的提交。
要檢查標籤,使用快捷菜單上的標籤


您還可以reset to a specific tag

選擇Team -> Reset...的一個項目。
這將打開一個對話框,您可以在其中選擇分支或標籤。

但是,這將改變當前的分支,這可能不是你想要的。

+0

如何在eclipse的egit視圖中做到這一點? – necromancer

+0

@necromancer我已添加關於EGit的信息。 – VonC

+0

謝謝。 (upvoted更早。) – necromancer

相關問題