Git: Pull from specific branch

This commit is contained in:
Bugra Cuhadaroglu
2017-05-20 01:48:59 -04:00
parent a49a42680a
commit 39f33ae2ae
5 changed files with 63 additions and 6 deletions

View File

@@ -187,6 +187,11 @@
"title": "%command.pullRebase%",
"category": "Git"
},
{
"command": "git.pullFromRemoteBranch",
"title": "%command.pullFromRemoteBranch%",
"category": "Git"
},
{
"command": "git.push",
"title": "%command.push%",
@@ -311,6 +316,10 @@
"command": "git.pull",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.pullFromRemoteBranch",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.pullRebase",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
@@ -367,6 +376,11 @@
"group": "1_sync",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.pullFromRemoteBranch",
"group": "1_sync",
"when": "config.git.enabled && scmProvider == git && gitState == idle"
},
{
"command": "git.push",
"group": "1_sync",