mhutchie / vscode-git-graph

View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph.
https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph
Other
1.97k stars 260 forks source link

New dropdown button: 'update branch' #828

Open RobertoRoos opened 3 months ago

RobertoRoos commented 3 months ago

Describe the feature that you'd like

It would be awesome if I could right-click on a branch I don't have currently checked out and I could click something like 'Update branch', after which it will be updated to the remote. Effectively pulling without checking out the branch first. This would be equivalent to running:

git fetch origin branchname:branchname

This would save me from (optionally) stashing local changes, checking out the remote branch, clicking in the prompt that I want to pull, checking back to my original branch (and popping local changes back).

Additional context (optional)

PyCharm has such a feature for local branches and I use it often: image