feat(title-bar): add folder-actions menu and branch dropdown with git operations

This commit is contained in:
xintaofei
2026-04-22 00:23:27 +08:00
parent 08fb508736
commit f3bdf94723
19 changed files with 1511 additions and 46 deletions

View File

@@ -792,6 +792,18 @@ export async function gitRebase(
return getTransport().call("git_rebase", { path, branchName })
}
export async function gitDeleteBranch(
path: string,
branchName: string,
force: boolean = false
): Promise<string> {
return getTransport().call("git_delete_branch", {
path,
branchName,
force,
})
}
export async function gitDeleteRemoteBranch(
path: string,
remote: string,