Add rename branch command

This commit is contained in:
Justin Horner 2017-08-10 14:00:27 -04:00
parent c05c85b45f
commit b3a977e32a
2 changed files with 10 additions and 0 deletions

View file

@ -182,6 +182,11 @@
"title": "%command.deleteBranch%",
"category": "Git"
},
{
"command": "git.renameBranch",
"title": "%command.renameBranch%",
"category": "Git"
},
{
"command": "git.merge",
"title": "%command.merge%",
@ -341,6 +346,10 @@
"command": "git.deleteBranch",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.renameBranch",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.pull",
"when": "config.git.enabled && scmProvider == git && gitState == idle"

View file

@ -23,6 +23,7 @@
"command.checkout": "Checkout to...",
"command.branch": "Create Branch...",
"command.deleteBranch": "Delete Branch...",
"command.renameBranch": "Rename Branch...",
"command.merge": "Merge Branch...",
"command.createTag": "Create Tag",
"command.pull": "Pull",