Merge pull request #29264 from Krzysztof-Cieslak/commit_amend

Add Git commit amend commands
This commit is contained in:
João Moreno
2017-08-11 09:02:12 +01:00
committed by GitHub
3 changed files with 40 additions and 0 deletions

View File

@@ -152,6 +152,11 @@
"title": "%command.commitStagedSigned%",
"category": "Git"
},
{
"command": "git.commitStagedAmend",
"title": "%command.commitStagedAmend%",
"category": "Git"
},
{
"command": "git.commitAll",
"title": "%command.commitAll%",
@@ -162,6 +167,11 @@
"title": "%command.commitAllSigned%",
"category": "Git"
},
{
"command": "git.commitAllAmend",
"title": "%command.commitAllAmend%",
"category": "Git"
},
{
"command": "git.undoCommit",
"title": "%command.undoCommit%",
@@ -317,6 +327,10 @@
"command": "git.commitStagedSigned",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.commitStagedAmend",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.commitAll",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
@@ -325,6 +339,10 @@
"command": "git.commitAllSigned",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.commitAllAmend",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.undoCommit",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
@@ -446,6 +464,11 @@
"group": "3_commit",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.commitStagedAmend",
"group": "3_commit",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.commitAll",
"group": "3_commit",
@@ -456,6 +479,11 @@
"group": "3_commit",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.commitAllAmend",
"group": "3_commit",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.undoCommit",
"group": "3_commit",