Add entries to scm context menu for force pushing

This commit is contained in:
nesukun
2018-10-09 21:05:08 +01:00
parent f9281d8317
commit c8e4544542

View File

@@ -652,11 +652,21 @@
"group": "1_sync",
"when": "scmProvider == git"
},
{
"command": "git.pushForce",
"group": "1_sync",
"when": "scmProvider == git && config.git.allowForcePush"
},
{
"command": "git.pushTo",
"group": "1_sync",
"when": "scmProvider == git"
},
{
"command": "git.pushToForce",
"group": "1_sync",
"when": "scmProvider == git && config.git.allowForcePush"
},
{
"command": "git.publish",
"group": "2_publish",