microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.66k stars 28.68k forks source link

Enhance Source Control Tab with Git Graph Features #225029

Open sultanmyrza opened 1 month ago

sultanmyrza commented 1 month ago

Hello Visual Studio Code Team,

I would like to suggest an enhancement to the Source Control tab in VSCode. Specifically, I propose incorporating features similar to those found in the mhutchie.git-graph extension. These features include:

  1. Visual Git Graph: A graphical representation of the Git commit history, which helps visualize branches, merges, and the overall commit structure.

  2. Branch Management: Functions for managing branches directly from the Source Control tab, including creating, renaming, and deleting branches.

  3. Interactive Features: Ability to perform common Git actions like merging, rebasing, and cherry-picking directly from the graph view.

Recording of Git Graph

Motivation:

I currently use the mhutchie.git-graph extension, which is free and handles about 90% of my daily Git-related tasks. However, the extension's last commit was on September 19, 2021, and it has not been updated since then. Integrating similar functionality natively into VSCode would provide a consistent user experience and streamline workflow without needing additional extensions.

Additionally, I noticed that in July 2024, VSCode implemented an "Incoming/Outgoing changes graph," which I find quite cool. It would be even better if there were a graph-like feature that allowed users to perform actions such as checkout, merge, and rebase using mouse clicks, without needing to type Git commands.

In the past, there was a third-party plugin that allowed users to manage profiles, and now VSCode has a similar feature built-in (VSCode Profiles). I hope VSCode can implement a similar built-in feature for Git graph functionality.

Benefits:

Additional Information:

Having these enhancements built into VSCode would be especially valuable for users who prefer a built-in solution over third-party extensions. It would be great to have a free, mini version of the functionalities provided by GitLens, integrated directly into VSCode.

Thank you for considering this suggestion!

Best regards,

gjsjohnmurray commented 1 month ago

/assign @lszomoru