git - 在 VSCode 中标记提交

标签 git visual-studio-code

我正在尝试通过 VSCode 在 Git 中创建一个标签 提交。 VS 代码的内置 Git 有一个提交选项。但是如何通过 VS 代码创建标记提交

最佳答案

您可以打开命令面板 (Ctrl + Shift + P) 并选择 Git: Create Tag

为标签命名,然后按 Enter

要将标签推送到远程服务器,您可以再次打开命令面板并选择Git: Push (Follow Tags)

(似乎这是包含该功能的 PR:https://github.com/Microsoft/vscode/pull/26999)

关于git - 在 VSCode 中标记提交,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41438075/

相关文章:

visual-studio-code - 如何从 "Explore"选项卡中排除文件夹?

Git-bash WIndows :/usr/bin/bash: can't find configuration file/usr/local/etc/profile. 全局;退出。”

git 推送到替代主服务器被拒绝,因为推送的分支提示位于其远程后面

visual-studio-2012 - Visual Studio Code 和 VS 2012 可以安装在同一台计算机上吗?

python - 如何在 Visual Studio Code 的 launch.json 中调试 Python 模块

php - 在 linux 操作系统中编写的 php 文件在服务器上出现错误 500

git push 在 HTTP/1.1 100 之后卡在(哑)https 上继续

windows - 如何将windows7 Git连接到dreamhost服务器Git

git - 将 ssh 选项传递给 git clone

typescript - 如何使用多个 tsconfig 文件(编译器选项冲突)?