|
9014 | 9014 | "title": "Reset Current Branch to Commit...", |
9015 | 9015 | "enablement": "!operationInProgress" |
9016 | 9016 | }, |
| 9017 | + { |
| 9018 | + "command": "gitlens.graph.resetToTag", |
| 9019 | + "title": "Reset Current Branch to Tag...", |
| 9020 | + "category": "GitLens", |
| 9021 | + "icon": "$(gitlens-reset)", |
| 9022 | + "enablement": "!operationInProgress" |
| 9023 | + }, |
9017 | 9024 | { |
9018 | 9025 | "command": "gitlens.graph.resetToTip", |
9019 | 9026 | "title": "Reset Current Branch to Tip...", |
|
12432 | 12439 | "command": "gitlens.graph.switchToTag", |
12433 | 12440 | "when": "false" |
12434 | 12441 | }, |
| 12442 | + { |
| 12443 | + "command": "gitlens.graph.resetToTag", |
| 12444 | + "when": "false" |
| 12445 | + }, |
12435 | 12446 | { |
12436 | 12447 | "command": "gitlens.graph.createWorktree", |
12437 | 12448 | "when": "false" |
|
16292 | 16303 | "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:commit\\b/", |
16293 | 16304 | "group": "1_gitlens_actions@4" |
16294 | 16305 | }, |
| 16306 | + { |
| 16307 | + "command": "gitlens.graph.resetToTag", |
| 16308 | + "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && !listMultiSelection && webviewItem =~ /gitlens:tag\\b/", |
| 16309 | + "group": "1_gitlens_actions@2" |
| 16310 | + }, |
16295 | 16311 | { |
16296 | 16312 | "command": "gitlens.graph.resetToTip", |
16297 | 16313 | "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b/", |
@@ -16415,12 +16431,12 @@ |
16415 | 16431 | { |
16416 | 16432 | "command": "gitlens.graph.deleteTag", |
16417 | 16433 | "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem == gitlens:tag", |
16418 | | - "group": "1_gitlens_actions@2" |
| 16434 | + "group": "1_gitlens_actions@3" |
16419 | 16435 | }, |
16420 | 16436 | { |
16421 | 16437 | "command": "gitlens.graph.createBranch", |
16422 | 16438 | "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:tag\\b/", |
16423 | | - "group": "1_gitlens_actions@3" |
| 16439 | + "group": "1_gitlens_actions@4" |
16424 | 16440 | }, |
16425 | 16441 | { |
16426 | 16442 | "command": "gitlens.graph.hideTag", |
|
0 commit comments