提交 c8e45445 编写于 作者: N nesukun

Add entries to scm context menu for force pushing

上级 f9281d83
...@@ -652,11 +652,21 @@ ...@@ -652,11 +652,21 @@
"group": "1_sync", "group": "1_sync",
"when": "scmProvider == git" "when": "scmProvider == git"
}, },
{
"command": "git.pushForce",
"group": "1_sync",
"when": "scmProvider == git && config.git.allowForcePush"
},
{ {
"command": "git.pushTo", "command": "git.pushTo",
"group": "1_sync", "group": "1_sync",
"when": "scmProvider == git" "when": "scmProvider == git"
}, },
{
"command": "git.pushToForce",
"group": "1_sync",
"when": "scmProvider == git && config.git.allowForcePush"
},
{ {
"command": "git.publish", "command": "git.publish",
"group": "2_publish", "group": "2_publish",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册