Add git amend commands in package.json

This commit is contained in:
Krzysztof Cieślak 2017-06-22 14:22:35 +02:00
parent 8afa14668e
commit 0636016735
2 changed files with 30 additions and 0 deletions

View file

@ -147,6 +147,11 @@
"title": "%command.commitStagedSigned%",
"category": "Git"
},
{
"command": "git.commitStagedAmend",
"title": "%command.commitStagedAmend%",
"category": "Git"
},
{
"command": "git.commitAll",
"title": "%command.commitAll%",
@ -157,6 +162,11 @@
"title": "%command.commitAllSigned%",
"category": "Git"
},
{
"command": "git.commitAllAmend",
"title": "%command.commitAllAmend%",
"category": "Git"
},
{
"command": "git.undoCommit",
"title": "%command.undoCommit%",
@ -283,6 +293,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"
@ -291,6 +305,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"
@ -392,6 +410,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",
@ -402,6 +425,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",

View file

@ -16,8 +16,10 @@
"command.commit": "Commit",
"command.commitStaged": "Commit Staged",
"command.commitStagedSigned": "Commit Staged (Signed Off)",
"command.commitStagedAmend": "Commit Staged (Amend)",
"command.commitAll": "Commit All",
"command.commitAllSigned": "Commit All (Signed Off)",
"command.commitAllAmend": "Commit All (Amend)",
"command.undoCommit": "Undo Last Commit",
"command.checkout": "Checkout to...",
"command.branch": "Create Branch...",