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.9k stars 244 forks source link

Multiple Git Graph instances/views #747

Open brendan-simon-indt opened 1 year ago

brendan-simon-indt commented 1 year ago

I want to view 2 branches (to do some cherry-picking and back-porting). The two branches have a lot of commits between them so it's very difficult to see both of them simultaneously (even when filtering out everything except just for those 2 branches).

Being able to view 2 Git Graphs side by side, with each view displaying only one filtered branch, would make things a lot easier to compare the commits for each branch.

I can split the main area into 2 (or more sections) and have text editors in each (editing the same file) and I can scroll to different parts of the file.

It would be good if GG would behave in a similar way. i.e. can be placed in many vertical (or horizontal) views of the main vscode workspace. Currently if I focus on another section (i.e. an editor in another section) and click on the GG icon, the current GG moves from one section to the current section (text editors create a new view and leave the other one where it was).

Also, text editors can be split into side-by-side to do the same thing (with the | | |) icon in the tabs area. That icon appears in GG too, but clicking on it results in an empty area in the RHS split.