簡體   English   中英

我可以使用VisualStudio 2013標記Git提交

[英]Can I Tag Git commit with VisualStudio 2013

是否可以在Visual Studio 2013中為Git存儲庫合並后應用標記? 我在團隊資源管理器中尋找這個動作,但我找不到它。

謝謝..

您現在可以在VS 2015中,在團隊資源管理器中執行此操作,轉到同步 - >傳出提交 - >雙擊要打開的項目。

您應該看到“創建標記”操作。

或者,如果您的分支已經同步,請轉到分支 - >右鍵單擊當前分支 - >查看歷史記錄... - >然后右鍵單擊要標記的提交。

您應該看到“創建標記”操作。

這些說明至少適用於VS 2015 Professional和Enterprise。

根據這個頁面,我現在不說。 雖然您可以查看它們。

I want to: 
    Apply a tag to a commit

Can I do it in Visual Studio? 
    No, but you can view them. See View and manage past versions in Git.

How do I do it from the command prompt?
    You can use the command prompt to push, edit, and remove tags (see Git-scm: Git Basics - Tagging) from a repository in TFS if you have sufficient permissions.

在Visual Studio 2017( v15.3.5 )中,在Team Explorer => Branches窗口中,我可以右鍵單擊分支。 然后單擊View History...命令。 將打開一個新的Local History窗口。 在該窗口中,我可以右鍵單擊特定的提交,然后在上下文菜單中單擊“ Create Tag命令。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM