Git Graph: commit actions (checkout, cherry-pick, revert) (#39069)

Adds commit actions to the Git Graph: check out a commit or branch, cherry-pick, revert, and create a branch from a commit. Conflicts hand off to Source Control with continue and abort. Works on local, WSL and remote hosts.
This commit is contained in:
Brennan Benson
2026-11-08 03:43:30 -08:00
committed by GitHub
parent 4824562f3e
commit d857e09615
81 changed files with 3509 additions and 313 deletions
@@ -26,6 +26,11 @@ type RuntimeGitCommandName =
| 'getRuntimeGitBranchDiff'
| 'getRuntimeGitCommitDiff'
| 'commitRuntimeGit'
| 'createRuntimeGitBranch'
| 'cherryPickRuntimeGit'
| 'revertRuntimeGit'
| 'sequencerAbortRuntimeGit'
| 'sequencerContinueRuntimeGit'
| 'completeRuntimeGitMerge'
| 'generateRuntimeCommitMessage'
| 'discoverRuntimeCommitMessageModels'
@@ -74,6 +79,11 @@ export function installRuntimeGitCommandSurface(
getRuntimeGitBranchDiff: commands.getRuntimeGitBranchDiff.bind(commands),
getRuntimeGitCommitDiff: commands.getRuntimeGitCommitDiff.bind(commands),
commitRuntimeGit: commands.commitRuntimeGit.bind(commands),
createRuntimeGitBranch: commands.createRuntimeGitBranch.bind(commands),
cherryPickRuntimeGit: commands.cherryPickRuntimeGit.bind(commands),
revertRuntimeGit: commands.revertRuntimeGit.bind(commands),
sequencerAbortRuntimeGit: commands.sequencerAbortRuntimeGit.bind(commands),
sequencerContinueRuntimeGit: commands.sequencerContinueRuntimeGit.bind(commands),
completeRuntimeGitMerge: commands.completeRuntimeGitMerge.bind(commands),
generateRuntimeCommitMessage: commands.generateRuntimeCommitMessage.bind(commands),
discoverRuntimeCommitMessageModels: commands.discoverRuntimeCommitMessageModels.bind(commands),