kemayo / sublime-text-git

Plugin for some git integration into sublime text
MIT License
2.83k stars 390 forks source link

Git Push: Only list remotes with push configured #507

Open binarious opened 8 years ago

binarious commented 8 years ago

I have configured a fetch-only remote (as a Subtree Merge) in my git project:

$ git remote -v
deployment  ssh://git@git.myvendor.de:8443/angular/rpm-deployment.git (fetch)
deployment  no-pushing (push)
origin  ssh://git@git.myvendor.de:8443/myapp/angular-client.git (fetch)
origin  ssh://git@git.myvendor.de:8443/myapp/angular-client.git (push)

It would be nice if deployment won't listed as a pushing destination when running Git: Push or Git: Push Current Branch.