!gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(remote|tracking)\\b)(?!.*?\\b\\+closed\\b)/", "group": "1_gitlens_actions@3" }, { "command": "gitlens.graph.mergeBranchInto", "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/", "group": "1_gitlens_actions@4" }, { "command": "gitlens.graph.rebaseOntoBranch", "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/", "group": "1_gitlens_actions@5" }, { "command": "gitlens.graph.rebaseOntoUpstream", "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)(?=.*?\\b\\+tracking\\b)/", "group": "1_gitlens_actions@5" }, { "command": "gitlens.graph.renameBranch", "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b/", "group": "1_gitlens_actions@6" }, { "command": "gitlens.graph.deleteBranch", "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+(current|checkedout)\\b)/", "group": "1_gitlens_actions@7" }, { "command": "gitlens.graph.createBranch", "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b/", "group": "1_gitlens_actions_@7" }, { "command": "gitlens.graph.createTag", "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b/", "group": "1_gitlens_actions_@8" }, { "command": "gitlens.graph.createWorktree", "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b/", "group": "1_gitlens_actions_@9" }, { "command": "gitlens.graph.createPullRequest", "when": "gitlens:repos:withRemotes && gitlens:action:createPullRequest && webviewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/", "group": "1_gitlens_actions_@10" }, { "command": "gitlens.graph.hideLocalBranch", "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+(current|remote)\\b)/", "group": "8_gitlens_actions@11" }, { "command": "gitlens.graph.hideRemote", "when": "webviewItem =~ /gitlens:branch\\b(?=.*?\\b\\+remote\\b)(?!.*?\\b\\+current\\b)/", "group": "8_gitlens_actions@10" }, { "command": "gitlens.graph.hideRemoteBranch", "when": "webviewItem =~ /gitlens:branch\\b(?=.*?\\b\\+remote\\b)(?!.*?\\b\\+current\\b)/", "group": "8_gitlens_actions@11" }, { "command": "gitlens.graph.hideRefGroup", "when": "webviewItemGroup =~ /gitlens:refGroup\\b(?!.*?\\b\\+current\\b)/", "group": "8_gitlens_actions@12" }, { "command": "gitlens.graph.openBranchOnRemote", "when": "gitlens:repos:withRemotes && webviewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/", "group": "2_gitlens_quickopen@1" }, { "command": "gitlens.graph.cherryPick", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:commit\\b(?!.*?\\b\\+current\\b)/", "group": "1_gitlens_actions@1" }, { "command": "gitlens.graph.undoCommit", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:commit\\b(?=.*?\\b\\+HEAD\\b)/", "group": "1_gitlens_actions@1" }, { "command": "gitlens.graph.revert", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/", "group": "1_gitlens_actions@3" }, { "command": "gitlens.graph.resetToCommit", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:commit\\b/", "group": "1_gitlens_actions@4" }, { "command": "gitlens.graph.resetToTip", "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b/", "group": "1_gitlens_actions@4" }, { "command": "gitlens.graph.resetCommit", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:commit\\b/", "group": "1_gitlens_actions@5" }, { "command": "gitlens.graph.rebaseOntoCommit", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:commit\\b/", "group": "1_gitlens_actions@6" }, { "command": "gitlens.graph.switchToCommit", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:commit\\b/", "group": "1_gitlens_actions@7" }, { "command": "gitlens.graph.createBranch", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:commit\\b/", "group": "1_gitlens_actions_1@1" }, { "command": "gitlens.graph.createPatch", "when": "!listMultiSelection && false && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:(commit|stash)\\b/", "group": "1_gitlens_actions_1@2" }, { "command": "gitlens.copyPatchToClipboard", "when": "!listMultiSelection && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:(commit|stash)\\b/", "group": "7_cutcopypaste@97" }, { "command": "gitlens.graph.createCloudPatch", "when": "!listMultiSelection && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:gk:organization:drafts:enabled && config.gitlens.cloudPatches.enabled && webviewItem =~ /gitlens:(commit|stash)\\b/", "group": "1_gitlens_actions_1@3" }, { "command": "gitlens.graph.createTag", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:commit\\b/", "group": "1_gitlens_actions_1@4" }, { "submenu": "gitlens/graph/commit/changes", "when": "!listMultiSelection && webviewItem =~ /gitlens:(commit|stash|wip)\\b/", "group": "2_gitlens_quickopen@1" }, { "command": "gitlens.graph.showInDetailsView", "when": "!listMultiSelection && webviewItem =~ /gitlens:(commit|stash|wip)\\b/", "group": "3_gitlens_explore@0" }, { "command": "gitlens.graph.openSCM", "when": "!listMultiSelection && webviewItem == gitlens:wip", "group": "3_gitlens_explore@1" }, { "command": "gitlens.graph.openCommitOnRemote", "when": "!listMultiSelection && gitlens:repos:withRemotes && webviewItem =~ /gitlens:commit\\b/", "group": "3_gitlens_explore@2" }, { "command": "gitlens.graph.openCommitOnRemote.multi", "when": "listMultiSelection && gitlens:repos:withRemotes && webviewItems =~ /gitlens:commit\\b/", "group": "3_gitlens_explore@2" }, { "submenu": "gitlens/share", "when": "webviewItem =~ /gitlens:(branch|commit|stash|tag)\\b/", "group": "7_gitlens_a_share@1" }, { "command": "gitlens.graph.copySha", "when": "!listMultiSelection && webviewItem =~ /gitlens:(branch|commit|stash|tag)\\b/", "group": "7_gitlens_cutcopypaste@2" }, { "command": "gitlens.graph.copyMessage", "when": "!listMultiSelection && webviewItem =~ /gitlens:(branch|commit|stash|tag)\\b/", "group": "7_gitlens_cutcopypaste@3" }, { "command": "gitlens.graph.stash.apply", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem == gitlens:stash", "group": "1_gitlens_actions@1" }, { "command": "gitlens.graph.stash.rename", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem == gitlens:stash", "group": "1_gitlens_actions@2" }, { "command": "gitlens.graph.stash.delete", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem == gitlens:stash", "group": "1_gitlens_actions@3" }, { "command": "gitlens.graph.stash.save", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem == gitlens:wip", "group": "1_gitlens_actions@3" }, { "command": "gitlens.graph.copyWorkingChangesToWorktree", "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem == gitlens:wip", "group": "1_gitlens_actions@4" }, { "command": "gitlens.graph.switchToTag", "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:tag\\b/", "group": "1_gitlens_actions@1" }, { "command": "gitlens.graph.deleteTag", "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem == gitlens:tag", "group": "1_gitlens_actions@2" }, { "command": "gitlens.graph.createBranch", "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:tag\\b/", "group": "1_gitlens_actions@3" }, { "command": "gitlens.graph.hideTag", "when": "webviewItem =~ /gitlens:tag\\b/", "group": "8_gitlens_actions@10" }, { "command": "gitlens.graph.openPullRequestChanges", "when": "webviewItem =~ /gitlens:pullrequest\\b(?=.*?\\b\\+refs\\b)/ && config.multiDiffEditor.experimental.enabled", "group": "1_gitlens_actions@1" }, { "command": "gitlens.graph.openPullRequest", "when": "gitlens:action:openPullRequest > 1 && webviewItem =~ /gitlens:pullrequest\\b/", "group": "1_gitlens_actions@98" }, { "command": "gitlens.graph.openPullRequestOnRemote", "when": "webviewItem =~ /gitlens:pullrequest\\b/", "group": "1_gitlens_actions@99" }, { "command": "gitlens.graph.openPullRequestComparison", "when": "webviewItem =~ /gitlens:pullrequest\\b(?=.*?\\b\\+refs\\b)/", "group": "4_gitlens_compare@1" }, { "command": "gitlens.graph.push", "when": "webviewItem =~ /gitlens:upstreamStatus\\b/", "group": "1_gitlens_actions@1" }, { "command": "gitlens.graph.pull", "when": "webviewItem =~ /gitlens:upstreamStatus\\b/", "group": "1_gitlens_actions@2" }, { "command": "gitlens.graph.fetch", "when": "webviewItem =~ /gitlens:upstreamStatus\\b/", "group": "1_gitlens_actions@3" }, { "command": "gitlens.graph.openChangedFileDiffsWithMergeBase", "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/", "group": "3_gitlens_explore@11" }, { "command": "gitlens.graph.compareWithUpstream", "when": "!gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b(?=.*?\\b\\+tracking\\b)/", "group": "4_gitlens_compare@1" }, { "command": "gitlens.graph.compareWithHead", "when": "!listMultiSelection && webviewItem =~ /gitlens:(commit|stash|tag)\\b/", "group": "4_gitlens_compare@2" }, { "command": "gitlens.graph.compareBranchWithHead", "when": "!listMultiSelection && webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/", "group": "4_gitlens_compare@2" }, { "command": "gitlens.graph.compareWithMergeBase", "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/", "group": "4_gitlens_compare@3" }, { "command": "gitlens.graph.compareWithWorking", "when": "!listMultiSelection && !gitlens:hasVirtualFolders && webviewItem =~ /git