Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/git/package.json
3309 views
1
{
2
"name": "git",
3
"displayName": "%displayName%",
4
"description": "%description%",
5
"publisher": "vscode",
6
"license": "MIT",
7
"version": "1.0.0",
8
"engines": {
9
"vscode": "^1.5.0"
10
},
11
"aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
12
"enabledApiProposals": [
13
"canonicalUriProvider",
14
"contribEditSessions",
15
"contribEditorContentMenu",
16
"contribMergeEditorMenus",
17
"contribMultiDiffEditorMenus",
18
"contribDiffEditorGutterToolBarMenus",
19
"contribSourceControlHistoryItemMenu",
20
"contribSourceControlHistoryTitleMenu",
21
"contribSourceControlInputBoxMenu",
22
"contribSourceControlTitleMenu",
23
"contribViewsWelcome",
24
"editSessionIdentityProvider",
25
"quickDiffProvider",
26
"quickInputButtonLocation",
27
"quickPickSortByLabel",
28
"scmActionButton",
29
"scmHistoryProvider",
30
"scmMultiDiffEditor",
31
"scmProviderOptions",
32
"scmSelectedProvider",
33
"scmTextDocument",
34
"scmValidation",
35
"statusBarItemTooltip",
36
"tabInputMultiDiff",
37
"tabInputTextMerge",
38
"textEditorDiffInformation",
39
"timeline"
40
],
41
"categories": [
42
"Other"
43
],
44
"activationEvents": [
45
"*",
46
"onEditSession:file",
47
"onFileSystem:git",
48
"onFileSystem:git-show"
49
],
50
"extensionDependencies": [
51
"vscode.git-base"
52
],
53
"main": "./out/main",
54
"icon": "resources/icons/git.png",
55
"scripts": {
56
"compile": "gulp compile-extension:git",
57
"watch": "gulp watch-extension:git",
58
"update-emoji": "node ./build/update-emoji.js",
59
"test": "node ../../node_modules/mocha/bin/mocha"
60
},
61
"capabilities": {
62
"virtualWorkspaces": true,
63
"untrustedWorkspaces": {
64
"supported": false
65
}
66
},
67
"contributes": {
68
"commands": [
69
{
70
"command": "git.continueInLocalClone",
71
"title": "%command.continueInLocalClone%",
72
"category": "Git",
73
"icon": "$(repo-clone)",
74
"enablement": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && remoteName"
75
},
76
{
77
"command": "git.clone",
78
"title": "%command.clone%",
79
"category": "Git",
80
"enablement": "!operationInProgress"
81
},
82
{
83
"command": "git.cloneRecursive",
84
"title": "%command.cloneRecursive%",
85
"category": "Git",
86
"enablement": "!operationInProgress"
87
},
88
{
89
"command": "git.init",
90
"title": "%command.init%",
91
"category": "Git",
92
"icon": "$(add)",
93
"enablement": "!operationInProgress"
94
},
95
{
96
"command": "git.openRepository",
97
"title": "%command.openRepository%",
98
"category": "Git",
99
"enablement": "!operationInProgress"
100
},
101
{
102
"command": "git.reopenClosedRepositories",
103
"title": "%command.reopenClosedRepositories%",
104
"icon": "$(repo)",
105
"category": "Git",
106
"enablement": "!operationInProgress && git.closedRepositoryCount != 0"
107
},
108
{
109
"command": "git.close",
110
"title": "%command.close%",
111
"category": "Git",
112
"enablement": "!operationInProgress"
113
},
114
{
115
"command": "git.closeOtherRepositories",
116
"title": "%command.closeOtherRepositories%",
117
"category": "Git",
118
"enablement": "!operationInProgress"
119
},
120
{
121
"command": "git.openWorktree",
122
"title": "%command.openWorktree%",
123
"category": "Git",
124
"enablement": "!operationInProgress"
125
},
126
{
127
"command": "git.openWorktreeInNewWindow",
128
"title": "%command.openWorktreeInNewWindow%",
129
"category": "Git",
130
"enablement": "!operationInProgress"
131
},
132
{
133
"command": "git.refresh",
134
"title": "%command.refresh%",
135
"category": "Git",
136
"icon": "$(refresh)",
137
"enablement": "!operationInProgress"
138
},
139
{
140
"command": "git.compareWithWorkspace",
141
"title": "%command.compareWithWorkspace%",
142
"category": "Git"
143
},
144
{
145
"command": "git.openChange",
146
"title": "%command.openChange%",
147
"category": "Git",
148
"icon": "$(compare-changes)"
149
},
150
{
151
"command": "git.openAllChanges",
152
"title": "%command.openAllChanges%",
153
"category": "Git"
154
},
155
{
156
"command": "git.openFile",
157
"title": "%command.openFile%",
158
"category": "Git",
159
"icon": "$(go-to-file)"
160
},
161
{
162
"command": "git.openFile2",
163
"title": "%command.openFile%",
164
"category": "Git",
165
"icon": "$(go-to-file)"
166
},
167
{
168
"command": "git.openHEADFile",
169
"title": "%command.openHEADFile%",
170
"category": "Git"
171
},
172
{
173
"command": "git.stage",
174
"title": "%command.stage%",
175
"category": "Git",
176
"icon": "$(add)",
177
"enablement": "!operationInProgress"
178
},
179
{
180
"command": "git.stageAll",
181
"title": "%command.stageAll%",
182
"category": "Git",
183
"icon": "$(add)",
184
"enablement": "!operationInProgress"
185
},
186
{
187
"command": "git.stageAllTracked",
188
"title": "%command.stageAllTracked%",
189
"category": "Git",
190
"icon": "$(add)",
191
"enablement": "!operationInProgress"
192
},
193
{
194
"command": "git.stageAllUntracked",
195
"title": "%command.stageAllUntracked%",
196
"category": "Git",
197
"icon": "$(add)",
198
"enablement": "!operationInProgress"
199
},
200
{
201
"command": "git.stageAllMerge",
202
"title": "%command.stageAllMerge%",
203
"category": "Git",
204
"icon": "$(add)",
205
"enablement": "!operationInProgress"
206
},
207
{
208
"command": "git.stageSelectedRanges",
209
"title": "%command.stageSelectedRanges%",
210
"category": "Git",
211
"enablement": "!operationInProgress"
212
},
213
{
214
"command": "git.diff.stageHunk",
215
"title": "%command.stageBlock%",
216
"category": "Git",
217
"icon": "$(plus)"
218
},
219
{
220
"command": "git.diff.stageSelection",
221
"title": "%command.stageSelection%",
222
"category": "Git",
223
"icon": "$(plus)"
224
},
225
{
226
"command": "git.revertSelectedRanges",
227
"title": "%command.revertSelectedRanges%",
228
"category": "Git",
229
"enablement": "!operationInProgress"
230
},
231
{
232
"command": "git.stageChange",
233
"title": "%command.stageChange%",
234
"category": "Git",
235
"icon": "$(add)",
236
"enablement": "!operationInProgress"
237
},
238
{
239
"command": "git.stageFile",
240
"title": "%command.stage%",
241
"category": "Git",
242
"icon": "$(add)",
243
"enablement": "!operationInProgress"
244
},
245
{
246
"command": "git.revertChange",
247
"title": "%command.revertChange%",
248
"category": "Git",
249
"icon": "$(discard)",
250
"enablement": "!operationInProgress"
251
},
252
{
253
"command": "git.unstage",
254
"title": "%command.unstage%",
255
"category": "Git",
256
"icon": "$(remove)",
257
"enablement": "!operationInProgress"
258
},
259
{
260
"command": "git.unstageAll",
261
"title": "%command.unstageAll%",
262
"category": "Git",
263
"icon": "$(remove)",
264
"enablement": "!operationInProgress"
265
},
266
{
267
"command": "git.unstageSelectedRanges",
268
"title": "%command.unstageSelectedRanges%",
269
"category": "Git",
270
"enablement": "!operationInProgress"
271
},
272
{
273
"command": "git.unstageChange",
274
"title": "%command.unstageChange%",
275
"category": "Git",
276
"icon": "$(remove)",
277
"enablement": "!operationInProgress"
278
},
279
{
280
"command": "git.unstageFile",
281
"title": "%command.unstage%",
282
"category": "Git",
283
"icon": "$(remove)",
284
"enablement": "!operationInProgress"
285
},
286
{
287
"command": "git.clean",
288
"title": "%command.clean%",
289
"category": "Git",
290
"icon": "$(discard)",
291
"enablement": "!operationInProgress"
292
},
293
{
294
"command": "git.cleanAll",
295
"title": "%command.cleanAll%",
296
"category": "Git",
297
"icon": "$(discard)",
298
"enablement": "!operationInProgress"
299
},
300
{
301
"command": "git.cleanAllTracked",
302
"title": "%command.cleanAllTracked%",
303
"category": "Git",
304
"icon": "$(discard)",
305
"enablement": "!operationInProgress"
306
},
307
{
308
"command": "git.cleanAllUntracked",
309
"title": "%command.cleanAllUntracked%",
310
"category": "Git",
311
"icon": "$(discard)",
312
"enablement": "!operationInProgress"
313
},
314
{
315
"command": "git.rename",
316
"title": "%command.rename%",
317
"category": "Git",
318
"icon": "$(discard)",
319
"enablement": "!operationInProgress"
320
},
321
{
322
"command": "git.commit",
323
"title": "%command.commit%",
324
"category": "Git",
325
"icon": "$(check)",
326
"enablement": "!operationInProgress"
327
},
328
{
329
"command": "git.commitAmend",
330
"title": "%command.commitAmend%",
331
"category": "Git",
332
"icon": "$(check)",
333
"enablement": "!operationInProgress"
334
},
335
{
336
"command": "git.commitSigned",
337
"title": "%command.commitSigned%",
338
"category": "Git",
339
"icon": "$(check)",
340
"enablement": "!operationInProgress"
341
},
342
{
343
"command": "git.commitStaged",
344
"title": "%command.commitStaged%",
345
"category": "Git",
346
"enablement": "!operationInProgress"
347
},
348
{
349
"command": "git.commitEmpty",
350
"title": "%command.commitEmpty%",
351
"category": "Git",
352
"enablement": "!operationInProgress"
353
},
354
{
355
"command": "git.commitStagedSigned",
356
"title": "%command.commitStagedSigned%",
357
"category": "Git",
358
"enablement": "!operationInProgress"
359
},
360
{
361
"command": "git.commitStagedAmend",
362
"title": "%command.commitStagedAmend%",
363
"category": "Git",
364
"enablement": "!operationInProgress"
365
},
366
{
367
"command": "git.commitAll",
368
"title": "%command.commitAll%",
369
"category": "Git",
370
"enablement": "!operationInProgress"
371
},
372
{
373
"command": "git.commitAllSigned",
374
"title": "%command.commitAllSigned%",
375
"category": "Git",
376
"enablement": "!operationInProgress"
377
},
378
{
379
"command": "git.commitAllAmend",
380
"title": "%command.commitAllAmend%",
381
"category": "Git",
382
"enablement": "!operationInProgress"
383
},
384
{
385
"command": "git.commitNoVerify",
386
"title": "%command.commitNoVerify%",
387
"category": "Git",
388
"icon": "$(check)",
389
"enablement": "!operationInProgress"
390
},
391
{
392
"command": "git.commitStagedNoVerify",
393
"title": "%command.commitStagedNoVerify%",
394
"category": "Git",
395
"enablement": "!operationInProgress"
396
},
397
{
398
"command": "git.commitEmptyNoVerify",
399
"title": "%command.commitEmptyNoVerify%",
400
"category": "Git",
401
"enablement": "!operationInProgress"
402
},
403
{
404
"command": "git.commitStagedSignedNoVerify",
405
"title": "%command.commitStagedSignedNoVerify%",
406
"category": "Git",
407
"enablement": "!operationInProgress"
408
},
409
{
410
"command": "git.commitAmendNoVerify",
411
"title": "%command.commitAmendNoVerify%",
412
"category": "Git",
413
"enablement": "!operationInProgress"
414
},
415
{
416
"command": "git.commitSignedNoVerify",
417
"title": "%command.commitSignedNoVerify%",
418
"category": "Git",
419
"enablement": "!operationInProgress"
420
},
421
{
422
"command": "git.commitStagedAmendNoVerify",
423
"title": "%command.commitStagedAmendNoVerify%",
424
"category": "Git",
425
"enablement": "!operationInProgress"
426
},
427
{
428
"command": "git.commitAllNoVerify",
429
"title": "%command.commitAllNoVerify%",
430
"category": "Git",
431
"enablement": "!operationInProgress"
432
},
433
{
434
"command": "git.commitAllSignedNoVerify",
435
"title": "%command.commitAllSignedNoVerify%",
436
"category": "Git",
437
"enablement": "!operationInProgress"
438
},
439
{
440
"command": "git.commitAllAmendNoVerify",
441
"title": "%command.commitAllAmendNoVerify%",
442
"category": "Git",
443
"enablement": "!operationInProgress"
444
},
445
{
446
"command": "git.commitMessageAccept",
447
"title": "%command.commitMessageAccept%",
448
"icon": "$(check)",
449
"category": "Git"
450
},
451
{
452
"command": "git.commitMessageDiscard",
453
"title": "%command.commitMessageDiscard%",
454
"icon": "$(discard)",
455
"category": "Git"
456
},
457
{
458
"command": "git.restoreCommitTemplate",
459
"title": "%command.restoreCommitTemplate%",
460
"category": "Git",
461
"enablement": "!operationInProgress"
462
},
463
{
464
"command": "git.undoCommit",
465
"title": "%command.undoCommit%",
466
"category": "Git",
467
"enablement": "!operationInProgress"
468
},
469
{
470
"command": "git.checkout",
471
"title": "%command.checkout%",
472
"category": "Git",
473
"enablement": "!operationInProgress"
474
},
475
{
476
"command": "git.graph.checkout",
477
"title": "%command.graphCheckout%",
478
"category": "Git",
479
"enablement": "!operationInProgress"
480
},
481
{
482
"command": "git.checkoutDetached",
483
"title": "%command.checkoutDetached%",
484
"category": "Git",
485
"enablement": "!operationInProgress"
486
},
487
{
488
"command": "git.graph.checkoutDetached",
489
"title": "%command.graphCheckoutDetached%",
490
"category": "Git",
491
"enablement": "!operationInProgress"
492
},
493
{
494
"command": "git.branch",
495
"title": "%command.branch%",
496
"category": "Git",
497
"enablement": "!operationInProgress"
498
},
499
{
500
"command": "git.branchFrom",
501
"title": "%command.branchFrom%",
502
"category": "Git",
503
"enablement": "!operationInProgress"
504
},
505
{
506
"command": "git.deleteBranch",
507
"title": "%command.deleteBranch%",
508
"category": "Git",
509
"enablement": "!operationInProgress"
510
},
511
{
512
"command": "git.graph.deleteBranch",
513
"title": "%command.graphDeleteBranch%",
514
"category": "Git",
515
"enablement": "!operationInProgress"
516
},
517
{
518
"command": "git.deleteRemoteBranch",
519
"title": "%command.deleteRemoteBranch%",
520
"category": "Git",
521
"enablement": "!operationInProgress"
522
},
523
{
524
"command": "git.renameBranch",
525
"title": "%command.renameBranch%",
526
"category": "Git",
527
"enablement": "!operationInProgress"
528
},
529
{
530
"command": "git.merge",
531
"title": "%command.merge%",
532
"category": "Git",
533
"enablement": "!operationInProgress"
534
},
535
{
536
"command": "git.mergeAbort",
537
"title": "%command.mergeAbort%",
538
"category": "Git",
539
"enablement": "gitMergeInProgress"
540
},
541
{
542
"command": "git.rebase",
543
"title": "%command.rebase%",
544
"category": "Git",
545
"enablement": "!operationInProgress"
546
},
547
{
548
"command": "git.createTag",
549
"title": "%command.createTag%",
550
"category": "Git",
551
"enablement": "!operationInProgress"
552
},
553
{
554
"command": "git.deleteTag",
555
"title": "%command.deleteTag%",
556
"category": "Git",
557
"enablement": "!operationInProgress"
558
},
559
{
560
"command": "git.migrateWorktreeChanges",
561
"title": "%command.migrateWorktreeChanges%",
562
"category": "Git",
563
"enablement": "!operationInProgress"
564
},
565
{
566
"command": "git.createWorktree",
567
"title": "%command.createWorktree%",
568
"category": "Git",
569
"enablement": "!operationInProgress"
570
},
571
{
572
"command": "git.deleteWorktree",
573
"title": "%command.deleteWorktree%",
574
"category": "Git",
575
"enablement": "!operationInProgress"
576
},
577
{
578
"command": "git.deleteWorktreeFromPalette",
579
"title": "%command.deleteWorktreeFromPalette%",
580
"category": "Git",
581
"enablement": "!operationInProgress"
582
},
583
{
584
"command": "git.graph.deleteTag",
585
"title": "%command.graphDeleteTag%",
586
"category": "Git",
587
"enablement": "!operationInProgress"
588
},
589
{
590
"command": "git.deleteRemoteTag",
591
"title": "%command.deleteRemoteTag%",
592
"category": "Git",
593
"enablement": "!operationInProgress"
594
},
595
{
596
"command": "git.fetch",
597
"title": "%command.fetch%",
598
"category": "Git",
599
"enablement": "!operationInProgress"
600
},
601
{
602
"command": "git.fetchPrune",
603
"title": "%command.fetchPrune%",
604
"category": "Git",
605
"enablement": "!operationInProgress"
606
},
607
{
608
"command": "git.fetchAll",
609
"title": "%command.fetchAll%",
610
"icon": "$(git-fetch)",
611
"category": "Git",
612
"enablement": "!operationInProgress"
613
},
614
{
615
"command": "git.fetchRef",
616
"title": "%command.fetch%",
617
"icon": "$(git-fetch)",
618
"category": "Git",
619
"enablement": "!operationInProgress"
620
},
621
{
622
"command": "git.pull",
623
"title": "%command.pull%",
624
"category": "Git",
625
"enablement": "!operationInProgress"
626
},
627
{
628
"command": "git.pullRebase",
629
"title": "%command.pullRebase%",
630
"category": "Git",
631
"enablement": "!operationInProgress"
632
},
633
{
634
"command": "git.pullFrom",
635
"title": "%command.pullFrom%",
636
"category": "Git",
637
"enablement": "!operationInProgress"
638
},
639
{
640
"command": "git.pullRef",
641
"title": "%command.pull%",
642
"icon": "$(repo-pull)",
643
"category": "Git",
644
"enablement": "!operationInProgress && scmCurrentHistoryItemRefInFilter && scmCurrentHistoryItemRefHasRemote"
645
},
646
{
647
"command": "git.push",
648
"title": "%command.push%",
649
"category": "Git",
650
"enablement": "!operationInProgress"
651
},
652
{
653
"command": "git.pushForce",
654
"title": "%command.pushForce%",
655
"category": "Git",
656
"enablement": "!operationInProgress"
657
},
658
{
659
"command": "git.pushTo",
660
"title": "%command.pushTo%",
661
"category": "Git",
662
"enablement": "!operationInProgress"
663
},
664
{
665
"command": "git.pushToForce",
666
"title": "%command.pushToForce%",
667
"category": "Git",
668
"enablement": "!operationInProgress"
669
},
670
{
671
"command": "git.pushTags",
672
"title": "%command.pushTags%",
673
"category": "Git",
674
"enablement": "!operationInProgress"
675
},
676
{
677
"command": "git.pushWithTags",
678
"title": "%command.pushFollowTags%",
679
"category": "Git",
680
"enablement": "!operationInProgress"
681
},
682
{
683
"command": "git.pushWithTagsForce",
684
"title": "%command.pushFollowTagsForce%",
685
"category": "Git",
686
"enablement": "!operationInProgress"
687
},
688
{
689
"command": "git.pushRef",
690
"title": "%command.push%",
691
"icon": "$(repo-push)",
692
"category": "Git",
693
"enablement": "!operationInProgress && scmCurrentHistoryItemRefInFilter && scmCurrentHistoryItemRefHasRemote"
694
},
695
{
696
"command": "git.cherryPick",
697
"title": "%command.cherryPick%",
698
"category": "Git",
699
"enablement": "!operationInProgress"
700
},
701
{
702
"command": "git.graph.cherryPick",
703
"title": "%command.graphCherryPick%",
704
"category": "Git",
705
"enablement": "!operationInProgress"
706
},
707
{
708
"command": "git.cherryPickAbort",
709
"title": "%command.cherryPickAbort%",
710
"category": "Git",
711
"enablement": "!operationInProgress"
712
},
713
{
714
"command": "git.addRemote",
715
"title": "%command.addRemote%",
716
"category": "Git",
717
"enablement": "!operationInProgress"
718
},
719
{
720
"command": "git.removeRemote",
721
"title": "%command.removeRemote%",
722
"category": "Git",
723
"enablement": "!operationInProgress"
724
},
725
{
726
"command": "git.sync",
727
"title": "%command.sync%",
728
"category": "Git",
729
"enablement": "!operationInProgress"
730
},
731
{
732
"command": "git.syncRebase",
733
"title": "%command.syncRebase%",
734
"category": "Git",
735
"enablement": "!operationInProgress"
736
},
737
{
738
"command": "git.publish",
739
"title": "%command.publish%",
740
"category": "Git",
741
"icon": "$(cloud-upload)",
742
"enablement": "!operationInProgress"
743
},
744
{
745
"command": "git.showOutput",
746
"title": "%command.showOutput%",
747
"category": "Git"
748
},
749
{
750
"command": "git.ignore",
751
"title": "%command.ignore%",
752
"category": "Git",
753
"enablement": "!operationInProgress"
754
},
755
{
756
"command": "git.revealInExplorer",
757
"title": "%command.revealInExplorer%",
758
"category": "Git"
759
},
760
{
761
"command": "git.revealFileInOS.linux",
762
"title": "%command.revealFileInOS.linux%",
763
"category": "Git"
764
},
765
{
766
"command": "git.revealFileInOS.mac",
767
"title": "%command.revealFileInOS.mac%",
768
"category": "Git"
769
},
770
{
771
"command": "git.revealFileInOS.windows",
772
"title": "%command.revealFileInOS.windows%",
773
"category": "Git"
774
},
775
{
776
"command": "git.stashIncludeUntracked",
777
"title": "%command.stashIncludeUntracked%",
778
"category": "Git",
779
"enablement": "!operationInProgress"
780
},
781
{
782
"command": "git.stash",
783
"title": "%command.stash%",
784
"category": "Git",
785
"enablement": "!operationInProgress"
786
},
787
{
788
"command": "git.stashStaged",
789
"title": "%command.stashStaged%",
790
"category": "Git",
791
"enablement": "!operationInProgress && gitVersion2.35"
792
},
793
{
794
"command": "git.stashPop",
795
"title": "%command.stashPop%",
796
"category": "Git",
797
"enablement": "!operationInProgress"
798
},
799
{
800
"command": "git.stashPopLatest",
801
"title": "%command.stashPopLatest%",
802
"category": "Git",
803
"enablement": "!operationInProgress"
804
},
805
{
806
"command": "git.stashPopEditor",
807
"title": "%command.stashPopEditor%",
808
"icon": "$(git-stash-pop)",
809
"category": "Git",
810
"enablement": "!operationInProgress"
811
},
812
{
813
"command": "git.stashApply",
814
"title": "%command.stashApply%",
815
"category": "Git",
816
"enablement": "!operationInProgress"
817
},
818
{
819
"command": "git.stashApplyLatest",
820
"title": "%command.stashApplyLatest%",
821
"category": "Git",
822
"enablement": "!operationInProgress"
823
},
824
{
825
"command": "git.stashApplyEditor",
826
"title": "%command.stashApplyEditor%",
827
"icon": "$(git-stash-apply)",
828
"category": "Git",
829
"enablement": "!operationInProgress"
830
},
831
{
832
"command": "git.stashDrop",
833
"title": "%command.stashDrop%",
834
"category": "Git",
835
"enablement": "!operationInProgress"
836
},
837
{
838
"command": "git.stashDropAll",
839
"title": "%command.stashDropAll%",
840
"category": "Git",
841
"enablement": "!operationInProgress"
842
},
843
{
844
"command": "git.stashDropEditor",
845
"title": "%command.stashDropEditor%",
846
"icon": "$(trash)",
847
"category": "Git",
848
"enablement": "!operationInProgress"
849
},
850
{
851
"command": "git.stashView",
852
"title": "%command.stashView%",
853
"category": "Git",
854
"enablement": "!operationInProgress"
855
},
856
{
857
"command": "git.timeline.openDiff",
858
"title": "%command.timelineOpenDiff%",
859
"icon": "$(compare-changes)",
860
"category": "Git"
861
},
862
{
863
"command": "git.timeline.copyCommitId",
864
"title": "%command.timelineCopyCommitId%",
865
"category": "Git"
866
},
867
{
868
"command": "git.timeline.copyCommitMessage",
869
"title": "%command.timelineCopyCommitMessage%",
870
"category": "Git"
871
},
872
{
873
"command": "git.timeline.selectForCompare",
874
"title": "%command.timelineSelectForCompare%",
875
"category": "Git"
876
},
877
{
878
"command": "git.timeline.compareWithSelected",
879
"title": "%command.timelineCompareWithSelected%",
880
"category": "Git"
881
},
882
{
883
"command": "git.timeline.viewCommit",
884
"title": "%command.viewCommit%",
885
"icon": "$(diff-multiple)",
886
"category": "Git"
887
},
888
{
889
"command": "git.rebaseAbort",
890
"title": "%command.rebaseAbort%",
891
"category": "Git",
892
"enablement": "gitRebaseInProgress"
893
},
894
{
895
"command": "git.closeAllDiffEditors",
896
"title": "%command.closeAllDiffEditors%",
897
"category": "Git",
898
"enablement": "!operationInProgress"
899
},
900
{
901
"command": "git.closeAllUnmodifiedEditors",
902
"title": "%command.closeAllUnmodifiedEditors%",
903
"category": "Git",
904
"enablement": "!operationInProgress"
905
},
906
{
907
"command": "git.api.getRepositories",
908
"title": "%command.api.getRepositories%",
909
"category": "Git API"
910
},
911
{
912
"command": "git.api.getRepositoryState",
913
"title": "%command.api.getRepositoryState%",
914
"category": "Git API"
915
},
916
{
917
"command": "git.api.getRemoteSources",
918
"title": "%command.api.getRemoteSources%",
919
"category": "Git API"
920
},
921
{
922
"command": "git.acceptMerge",
923
"title": "%command.git.acceptMerge%",
924
"category": "Git",
925
"enablement": "isMergeEditor && mergeEditorResultUri in git.mergeChanges"
926
},
927
{
928
"command": "git.openMergeEditor",
929
"title": "%command.git.openMergeEditor%",
930
"category": "Git"
931
},
932
{
933
"command": "git.runGitMerge",
934
"title": "%command.git.runGitMerge%",
935
"category": "Git",
936
"enablement": "isMergeEditor"
937
},
938
{
939
"command": "git.runGitMergeDiff3",
940
"title": "%command.git.runGitMergeDiff3%",
941
"category": "Git",
942
"enablement": "isMergeEditor"
943
},
944
{
945
"command": "git.manageUnsafeRepositories",
946
"title": "%command.manageUnsafeRepositories%",
947
"category": "Git"
948
},
949
{
950
"command": "git.openRepositoriesInParentFolders",
951
"title": "%command.openRepositoriesInParentFolders%",
952
"category": "Git"
953
},
954
{
955
"command": "git.viewChanges",
956
"title": "%command.viewChanges%",
957
"icon": "$(diff-multiple)",
958
"category": "Git",
959
"enablement": "!operationInProgress"
960
},
961
{
962
"command": "git.viewStagedChanges",
963
"title": "%command.viewStagedChanges%",
964
"icon": "$(diff-multiple)",
965
"category": "Git",
966
"enablement": "!operationInProgress"
967
},
968
{
969
"command": "git.viewUntrackedChanges",
970
"title": "%command.viewUntrackedChanges%",
971
"icon": "$(diff-multiple)",
972
"category": "Git",
973
"enablement": "!operationInProgress"
974
},
975
{
976
"command": "git.viewCommit",
977
"title": "%command.viewCommit%",
978
"icon": "$(diff-multiple)",
979
"category": "Git",
980
"enablement": "!operationInProgress"
981
},
982
{
983
"command": "git.copyCommitId",
984
"title": "%command.timelineCopyCommitId%",
985
"category": "Git"
986
},
987
{
988
"command": "git.copyCommitMessage",
989
"title": "%command.timelineCopyCommitMessage%",
990
"category": "Git"
991
},
992
{
993
"command": "git.blame.toggleEditorDecoration",
994
"title": "%command.blameToggleEditorDecoration%",
995
"category": "Git"
996
},
997
{
998
"command": "git.blame.toggleStatusBarItem",
999
"title": "%command.blameToggleStatusBarItem%",
1000
"category": "Git"
1001
}
1002
],
1003
"continueEditSession": [
1004
{
1005
"command": "git.continueInLocalClone",
1006
"qualifiedName": "%command.continueInLocalClone.qualifiedName%",
1007
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && remoteName",
1008
"remoteGroup": "remote_42_git_0_local@0"
1009
}
1010
],
1011
"keybindings": [
1012
{
1013
"command": "git.stageSelectedRanges",
1014
"key": "ctrl+k ctrl+alt+s",
1015
"mac": "cmd+k cmd+alt+s",
1016
"when": "editorTextFocus && resourceScheme == file"
1017
},
1018
{
1019
"command": "git.unstageSelectedRanges",
1020
"key": "ctrl+k ctrl+n",
1021
"mac": "cmd+k cmd+n",
1022
"when": "editorTextFocus && isInDiffEditor && isInDiffRightEditor && resourceScheme == git"
1023
},
1024
{
1025
"command": "git.revertSelectedRanges",
1026
"key": "ctrl+k ctrl+r",
1027
"mac": "cmd+k cmd+r",
1028
"when": "editorTextFocus && resourceScheme == file"
1029
}
1030
],
1031
"menus": {
1032
"commandPalette": [
1033
{
1034
"command": "git.continueInLocalClone",
1035
"when": "false"
1036
},
1037
{
1038
"command": "git.clone",
1039
"when": "config.git.enabled && !git.missing"
1040
},
1041
{
1042
"command": "git.cloneRecursive",
1043
"when": "config.git.enabled && !git.missing"
1044
},
1045
{
1046
"command": "git.init",
1047
"when": "config.git.enabled && !git.missing && remoteName != 'codespaces'"
1048
},
1049
{
1050
"command": "git.openRepository",
1051
"when": "config.git.enabled && !git.missing"
1052
},
1053
{
1054
"command": "git.close",
1055
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1056
},
1057
{
1058
"command": "git.closeOtherRepositories",
1059
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount > 1"
1060
},
1061
{
1062
"command": "git.openWorktree",
1063
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount > 1"
1064
},
1065
{
1066
"command": "git.openWorktreeInNewWindow",
1067
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount > 1"
1068
},
1069
{
1070
"command": "git.refresh",
1071
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1072
},
1073
{
1074
"command": "git.openFile",
1075
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && resourceScheme == file && scmActiveResourceHasChanges"
1076
},
1077
{
1078
"command": "git.openHEADFile",
1079
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && resourceScheme == file && scmActiveResourceHasChanges"
1080
},
1081
{
1082
"command": "git.openChange",
1083
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1084
},
1085
{
1086
"command": "git.stage",
1087
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1088
},
1089
{
1090
"command": "git.stageAll",
1091
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1092
},
1093
{
1094
"command": "git.stageAllTracked",
1095
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1096
},
1097
{
1098
"command": "git.stageAllUntracked",
1099
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1100
},
1101
{
1102
"command": "git.stageAllMerge",
1103
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1104
},
1105
{
1106
"command": "git.stageSelectedRanges",
1107
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && resourceScheme == file"
1108
},
1109
{
1110
"command": "git.stageChange",
1111
"when": "false"
1112
},
1113
{
1114
"command": "git.revertSelectedRanges",
1115
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && resourceScheme == file"
1116
},
1117
{
1118
"command": "git.revertChange",
1119
"when": "false"
1120
},
1121
{
1122
"command": "git.openFile2",
1123
"when": "false"
1124
},
1125
{
1126
"command": "git.unstage",
1127
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1128
},
1129
{
1130
"command": "git.unstageAll",
1131
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1132
},
1133
{
1134
"command": "git.unstageSelectedRanges",
1135
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && resourceScheme == git"
1136
},
1137
{
1138
"command": "git.unstageChange",
1139
"when": "false"
1140
},
1141
{
1142
"command": "git.clean",
1143
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1144
},
1145
{
1146
"command": "git.cleanAll",
1147
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1148
},
1149
{
1150
"command": "git.cleanAllTracked",
1151
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1152
},
1153
{
1154
"command": "git.cleanAllUntracked",
1155
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1156
},
1157
{
1158
"command": "git.rename",
1159
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && resourceScheme == file && scmActiveResourceRepository"
1160
},
1161
{
1162
"command": "git.commit",
1163
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1164
},
1165
{
1166
"command": "git.commitAmend",
1167
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1168
},
1169
{
1170
"command": "git.commitSigned",
1171
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1172
},
1173
{
1174
"command": "git.commitStaged",
1175
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1176
},
1177
{
1178
"command": "git.commitEmpty",
1179
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1180
},
1181
{
1182
"command": "git.commitStagedSigned",
1183
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1184
},
1185
{
1186
"command": "git.commitStagedAmend",
1187
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1188
},
1189
{
1190
"command": "git.commitAll",
1191
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1192
},
1193
{
1194
"command": "git.commitAllSigned",
1195
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1196
},
1197
{
1198
"command": "git.commitAllAmend",
1199
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1200
},
1201
{
1202
"command": "git.rebaseAbort",
1203
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && gitRebaseInProgress"
1204
},
1205
{
1206
"command": "git.commitNoVerify",
1207
"when": "config.git.enabled && !git.missing && config.git.allowNoVerifyCommit && gitOpenRepositoryCount != 0"
1208
},
1209
{
1210
"command": "git.commitStagedNoVerify",
1211
"when": "config.git.enabled && !git.missing && config.git.allowNoVerifyCommit && gitOpenRepositoryCount != 0"
1212
},
1213
{
1214
"command": "git.commitEmptyNoVerify",
1215
"when": "config.git.enabled && !git.missing && config.git.allowNoVerifyCommit && gitOpenRepositoryCount != 0"
1216
},
1217
{
1218
"command": "git.commitStagedSignedNoVerify",
1219
"when": "config.git.enabled && !git.missing && config.git.allowNoVerifyCommit && gitOpenRepositoryCount != 0"
1220
},
1221
{
1222
"command": "git.commitAmendNoVerify",
1223
"when": "config.git.enabled && !git.missing && config.git.allowNoVerifyCommit && gitOpenRepositoryCount != 0"
1224
},
1225
{
1226
"command": "git.commitSignedNoVerify",
1227
"when": "config.git.enabled && !git.missing && config.git.allowNoVerifyCommit && gitOpenRepositoryCount != 0"
1228
},
1229
{
1230
"command": "git.commitStagedAmendNoVerify",
1231
"when": "config.git.enabled && !git.missing && config.git.allowNoVerifyCommit && gitOpenRepositoryCount != 0"
1232
},
1233
{
1234
"command": "git.commitAllNoVerify",
1235
"when": "config.git.enabled && !git.missing && config.git.allowNoVerifyCommit && gitOpenRepositoryCount != 0"
1236
},
1237
{
1238
"command": "git.commitAllSignedNoVerify",
1239
"when": "config.git.enabled && !git.missing && config.git.allowNoVerifyCommit && gitOpenRepositoryCount != 0"
1240
},
1241
{
1242
"command": "git.commitAllAmendNoVerify",
1243
"when": "config.git.enabled && !git.missing && config.git.allowNoVerifyCommit && gitOpenRepositoryCount != 0"
1244
},
1245
{
1246
"command": "git.restoreCommitTemplate",
1247
"when": "false"
1248
},
1249
{
1250
"command": "git.commitMessageAccept",
1251
"when": "false"
1252
},
1253
{
1254
"command": "git.commitMessageDiscard",
1255
"when": "false"
1256
},
1257
{
1258
"command": "git.revealInExplorer",
1259
"when": "false"
1260
},
1261
{
1262
"command": "git.revealFileInOS.linux",
1263
"when": "false"
1264
},
1265
{
1266
"command": "git.revealFileInOS.mac",
1267
"when": "false"
1268
},
1269
{
1270
"command": "git.revealFileInOS.windows",
1271
"when": "false"
1272
},
1273
{
1274
"command": "git.undoCommit",
1275
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1276
},
1277
{
1278
"command": "git.checkout",
1279
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1280
},
1281
{
1282
"command": "git.branch",
1283
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1284
},
1285
{
1286
"command": "git.branchFrom",
1287
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1288
},
1289
{
1290
"command": "git.deleteBranch",
1291
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1292
},
1293
{
1294
"command": "git.deleteRemoteBranch",
1295
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1296
},
1297
{
1298
"command": "git.renameBranch",
1299
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1300
},
1301
{
1302
"command": "git.cherryPick",
1303
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1304
},
1305
{
1306
"command": "git.cherryPickAbort",
1307
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && gitCherryPickInProgress"
1308
},
1309
{
1310
"command": "git.pull",
1311
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1312
},
1313
{
1314
"command": "git.pullFrom",
1315
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1316
},
1317
{
1318
"command": "git.pullRebase",
1319
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1320
},
1321
{
1322
"command": "git.merge",
1323
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1324
},
1325
{
1326
"command": "git.mergeAbort",
1327
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && gitMergeInProgress"
1328
},
1329
{
1330
"command": "git.rebase",
1331
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1332
},
1333
{
1334
"command": "git.createTag",
1335
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1336
},
1337
{
1338
"command": "git.deleteTag",
1339
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1340
},
1341
{
1342
"command": "git.migrateWorktreeChanges",
1343
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1344
},
1345
{
1346
"command": "git.createWorktree",
1347
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1348
},
1349
{
1350
"command": "git.deleteWorktree",
1351
"when": "false"
1352
},
1353
{
1354
"command": "git.openWorktree",
1355
"when": "false"
1356
},
1357
{
1358
"command": "git.openWorktreeInNewWindow",
1359
"when": "false"
1360
},
1361
{
1362
"command": "git.deleteWorktreeFromPalette",
1363
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1364
},
1365
{
1366
"command": "git.deleteRemoteTag",
1367
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1368
},
1369
{
1370
"command": "git.fetch",
1371
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1372
},
1373
{
1374
"command": "git.fetchPrune",
1375
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1376
},
1377
{
1378
"command": "git.fetchAll",
1379
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1380
},
1381
{
1382
"command": "git.push",
1383
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1384
},
1385
{
1386
"command": "git.pushForce",
1387
"when": "config.git.enabled && !git.missing && config.git.allowForcePush && gitOpenRepositoryCount != 0"
1388
},
1389
{
1390
"command": "git.pushTo",
1391
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1392
},
1393
{
1394
"command": "git.pushToForce",
1395
"when": "config.git.enabled && !git.missing && config.git.allowForcePush && gitOpenRepositoryCount != 0"
1396
},
1397
{
1398
"command": "git.pushWithTags",
1399
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1400
},
1401
{
1402
"command": "git.pushWithTagsForce",
1403
"when": "config.git.enabled && !git.missing && config.git.allowForcePush && gitOpenRepositoryCount != 0"
1404
},
1405
{
1406
"command": "git.pushTags",
1407
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1408
},
1409
{
1410
"command": "git.addRemote",
1411
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1412
},
1413
{
1414
"command": "git.removeRemote",
1415
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1416
},
1417
{
1418
"command": "git.sync",
1419
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1420
},
1421
{
1422
"command": "git.syncRebase",
1423
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1424
},
1425
{
1426
"command": "git.publish",
1427
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1428
},
1429
{
1430
"command": "git.showOutput",
1431
"when": "config.git.enabled"
1432
},
1433
{
1434
"command": "git.ignore",
1435
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && resourceScheme == file && scmActiveResourceRepository"
1436
},
1437
{
1438
"command": "git.stashIncludeUntracked",
1439
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1440
},
1441
{
1442
"command": "git.stash",
1443
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1444
},
1445
{
1446
"command": "git.stashStaged",
1447
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && gitVersion2.35"
1448
},
1449
{
1450
"command": "git.stashPop",
1451
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1452
},
1453
{
1454
"command": "git.stashPopLatest",
1455
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1456
},
1457
{
1458
"command": "git.stashPopEditor",
1459
"when": "false"
1460
},
1461
{
1462
"command": "git.stashApply",
1463
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1464
},
1465
{
1466
"command": "git.stashApplyLatest",
1467
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1468
},
1469
{
1470
"command": "git.stashApplyEditor",
1471
"when": "false"
1472
},
1473
{
1474
"command": "git.stashDrop",
1475
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1476
},
1477
{
1478
"command": "git.stashDropAll",
1479
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1480
},
1481
{
1482
"command": "git.stashDropEditor",
1483
"when": "false"
1484
},
1485
{
1486
"command": "git.timeline.openDiff",
1487
"when": "false"
1488
},
1489
{
1490
"command": "git.timeline.copyCommitId",
1491
"when": "false"
1492
},
1493
{
1494
"command": "git.timeline.copyCommitMessage",
1495
"when": "false"
1496
},
1497
{
1498
"command": "git.timeline.selectForCompare",
1499
"when": "false"
1500
},
1501
{
1502
"command": "git.timeline.compareWithSelected",
1503
"when": "false"
1504
},
1505
{
1506
"command": "git.timeline.viewCommit",
1507
"when": "false"
1508
},
1509
{
1510
"command": "git.closeAllDiffEditors",
1511
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
1512
},
1513
{
1514
"command": "git.api.getRepositories",
1515
"when": "false"
1516
},
1517
{
1518
"command": "git.api.getRepositoryState",
1519
"when": "false"
1520
},
1521
{
1522
"command": "git.api.getRemoteSources",
1523
"when": "false"
1524
},
1525
{
1526
"command": "git.openMergeEditor",
1527
"when": "false"
1528
},
1529
{
1530
"command": "git.manageUnsafeRepositories",
1531
"when": "config.git.enabled && !git.missing && git.unsafeRepositoryCount != 0"
1532
},
1533
{
1534
"command": "git.openRepositoriesInParentFolders",
1535
"when": "config.git.enabled && !git.missing && git.parentRepositoryCount != 0"
1536
},
1537
{
1538
"command": "git.stashView",
1539
"when": "config.git.enabled && !git.missing && config.multiDiffEditor.experimental.enabled"
1540
},
1541
{
1542
"command": "git.viewChanges",
1543
"when": "config.git.enabled && !git.missing && config.multiDiffEditor.experimental.enabled"
1544
},
1545
{
1546
"command": "git.viewStagedChanges",
1547
"when": "config.git.enabled && !git.missing && config.multiDiffEditor.experimental.enabled"
1548
},
1549
{
1550
"command": "git.viewUntrackedChanges",
1551
"when": "config.git.enabled && !git.missing && config.multiDiffEditor.experimental.enabled && config.git.untrackedChanges == separate"
1552
},
1553
{
1554
"command": "git.viewCommit",
1555
"when": "false"
1556
},
1557
{
1558
"command": "git.stageFile",
1559
"when": "false"
1560
},
1561
{
1562
"command": "git.unstageFile",
1563
"when": "false"
1564
},
1565
{
1566
"command": "git.fetchRef",
1567
"when": "false"
1568
},
1569
{
1570
"command": "git.pullRef",
1571
"when": "false"
1572
},
1573
{
1574
"command": "git.pushRef",
1575
"when": "false"
1576
},
1577
{
1578
"command": "git.copyCommitId",
1579
"when": "false"
1580
},
1581
{
1582
"command": "git.copyCommitMessage",
1583
"when": "false"
1584
},
1585
{
1586
"command": "git.graph.checkout",
1587
"when": "false"
1588
},
1589
{
1590
"command": "git.graph.checkoutDetached",
1591
"when": "false"
1592
},
1593
{
1594
"command": "git.graph.deleteBranch",
1595
"when": "false"
1596
},
1597
{
1598
"command": "git.graph.deleteTag",
1599
"when": "false"
1600
},
1601
{
1602
"command": "git.graph.cherryPick",
1603
"when": "false"
1604
},
1605
{
1606
"command": "git.diff.stageHunk",
1607
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && diffEditorOriginalUri =~ /^git\\:.*%22ref%22%3A%22~%22%7D$/"
1608
},
1609
{
1610
"command": "git.diff.stageSelection",
1611
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && diffEditorOriginalUri =~ /^git\\:.*%22ref%22%3A%22~%22%7D$/"
1612
}
1613
],
1614
"scm/title": [
1615
{
1616
"command": "git.commit",
1617
"group": "navigation",
1618
"when": "scmProvider == git"
1619
},
1620
{
1621
"command": "git.refresh",
1622
"group": "navigation",
1623
"when": "scmProvider == git"
1624
},
1625
{
1626
"command": "git.pull",
1627
"group": "1_header@1",
1628
"when": "scmProvider == git"
1629
},
1630
{
1631
"command": "git.push",
1632
"group": "1_header@2",
1633
"when": "scmProvider == git"
1634
},
1635
{
1636
"command": "git.clone",
1637
"group": "1_header@3",
1638
"when": "scmProvider == git"
1639
},
1640
{
1641
"command": "git.checkout",
1642
"group": "1_header@4",
1643
"when": "scmProvider == git"
1644
},
1645
{
1646
"command": "git.fetch",
1647
"group": "1_header@5",
1648
"when": "scmProvider == git"
1649
},
1650
{
1651
"submenu": "git.commit",
1652
"group": "2_main@1",
1653
"when": "scmProvider == git"
1654
},
1655
{
1656
"submenu": "git.changes",
1657
"group": "2_main@2",
1658
"when": "scmProvider == git"
1659
},
1660
{
1661
"submenu": "git.pullpush",
1662
"group": "2_main@3",
1663
"when": "scmProvider == git"
1664
},
1665
{
1666
"submenu": "git.branch",
1667
"group": "2_main@4",
1668
"when": "scmProvider == git"
1669
},
1670
{
1671
"submenu": "git.remotes",
1672
"group": "2_main@5",
1673
"when": "scmProvider == git"
1674
},
1675
{
1676
"submenu": "git.stash",
1677
"group": "2_main@6",
1678
"when": "scmProvider == git"
1679
},
1680
{
1681
"submenu": "git.tags",
1682
"group": "2_main@7",
1683
"when": "scmProvider == git"
1684
},
1685
{
1686
"submenu": "git.worktrees",
1687
"group": "2_main@8",
1688
"when": "scmProvider == git"
1689
},
1690
{
1691
"command": "git.showOutput",
1692
"group": "3_footer",
1693
"when": "scmProvider == git"
1694
}
1695
],
1696
"scm/sourceControl/title": [
1697
{
1698
"command": "git.reopenClosedRepositories",
1699
"group": "navigation@1",
1700
"when": "git.closedRepositoryCount > 0"
1701
}
1702
],
1703
"scm/sourceControl": [
1704
{
1705
"command": "git.close",
1706
"group": "navigation@1",
1707
"when": "scmProvider == git"
1708
},
1709
{
1710
"command": "git.closeOtherRepositories",
1711
"group": "navigation@2",
1712
"when": "scmProvider == git && gitOpenRepositoryCount > 1"
1713
},
1714
{
1715
"command": "git.openWorktree",
1716
"group": "1_worktree@1",
1717
"when": "scmProvider == git && scmProviderContext == worktree"
1718
},
1719
{
1720
"command": "git.openWorktreeInNewWindow",
1721
"group": "1_worktree@2",
1722
"when": "scmProvider == git && scmProviderContext == worktree"
1723
},
1724
{
1725
"command": "git.deleteWorktree",
1726
"group": "2_worktree@1",
1727
"when": "scmProvider == git && scmProviderContext == worktree"
1728
}
1729
],
1730
"scm/resourceGroup/context": [
1731
{
1732
"command": "git.stageAllMerge",
1733
"when": "scmProvider == git && scmResourceGroup == merge",
1734
"group": "1_modification"
1735
},
1736
{
1737
"command": "git.stageAllMerge",
1738
"when": "scmProvider == git && scmResourceGroup == merge",
1739
"group": "inline@2"
1740
},
1741
{
1742
"command": "git.unstageAll",
1743
"when": "scmProvider == git && scmResourceGroup == index",
1744
"group": "1_modification"
1745
},
1746
{
1747
"command": "git.unstageAll",
1748
"when": "scmProvider == git && scmResourceGroup == index",
1749
"group": "inline@2"
1750
},
1751
{
1752
"command": "git.viewStagedChanges",
1753
"when": "scmProvider == git && scmResourceGroup == index && config.multiDiffEditor.experimental.enabled",
1754
"group": "inline@1"
1755
},
1756
{
1757
"command": "git.viewChanges",
1758
"when": "scmProvider == git && scmResourceGroup == workingTree && config.multiDiffEditor.experimental.enabled",
1759
"group": "inline@1"
1760
},
1761
{
1762
"command": "git.cleanAll",
1763
"when": "scmProvider == git && scmResourceGroup == workingTree && config.git.untrackedChanges == mixed",
1764
"group": "1_modification"
1765
},
1766
{
1767
"command": "git.stageAll",
1768
"when": "scmProvider == git && scmResourceGroup == workingTree && config.git.untrackedChanges == mixed",
1769
"group": "1_modification"
1770
},
1771
{
1772
"command": "git.cleanAll",
1773
"when": "scmProvider == git && scmResourceGroup == workingTree && config.git.untrackedChanges == mixed",
1774
"group": "inline@2"
1775
},
1776
{
1777
"command": "git.stageAll",
1778
"when": "scmProvider == git && scmResourceGroup == workingTree && config.git.untrackedChanges == mixed",
1779
"group": "inline@2"
1780
},
1781
{
1782
"command": "git.cleanAllTracked",
1783
"when": "scmProvider == git && scmResourceGroup == workingTree && config.git.untrackedChanges != mixed",
1784
"group": "1_modification"
1785
},
1786
{
1787
"command": "git.stageAllTracked",
1788
"when": "scmProvider == git && scmResourceGroup == workingTree && config.git.untrackedChanges != mixed",
1789
"group": "1_modification"
1790
},
1791
{
1792
"command": "git.cleanAllTracked",
1793
"when": "scmProvider == git && scmResourceGroup == workingTree && config.git.untrackedChanges != mixed",
1794
"group": "inline@2"
1795
},
1796
{
1797
"command": "git.stageAllTracked",
1798
"when": "scmProvider == git && scmResourceGroup == workingTree && config.git.untrackedChanges != mixed",
1799
"group": "inline@2"
1800
},
1801
{
1802
"command": "git.cleanAllUntracked",
1803
"when": "scmProvider == git && scmResourceGroup == untracked",
1804
"group": "1_modification"
1805
},
1806
{
1807
"command": "git.stageAllUntracked",
1808
"when": "scmProvider == git && scmResourceGroup == untracked",
1809
"group": "1_modification"
1810
},
1811
{
1812
"command": "git.viewUntrackedChanges",
1813
"when": "scmProvider == git && scmResourceGroup == untracked && config.multiDiffEditor.experimental.enabled",
1814
"group": "inline@1"
1815
},
1816
{
1817
"command": "git.cleanAllUntracked",
1818
"when": "scmProvider == git && scmResourceGroup == untracked",
1819
"group": "inline@2"
1820
},
1821
{
1822
"command": "git.stageAllUntracked",
1823
"when": "scmProvider == git && scmResourceGroup == untracked",
1824
"group": "inline@2"
1825
}
1826
],
1827
"scm/resourceFolder/context": [
1828
{
1829
"command": "git.stage",
1830
"when": "scmProvider == git && scmResourceGroup == merge",
1831
"group": "1_modification"
1832
},
1833
{
1834
"command": "git.stage",
1835
"when": "scmProvider == git && scmResourceGroup == merge",
1836
"group": "inline@2"
1837
},
1838
{
1839
"command": "git.unstage",
1840
"when": "scmProvider == git && scmResourceGroup == index",
1841
"group": "1_modification"
1842
},
1843
{
1844
"command": "git.unstage",
1845
"when": "scmProvider == git && scmResourceGroup == index",
1846
"group": "inline@2"
1847
},
1848
{
1849
"command": "git.stage",
1850
"when": "scmProvider == git && scmResourceGroup == workingTree",
1851
"group": "1_modification"
1852
},
1853
{
1854
"command": "git.clean",
1855
"when": "scmProvider == git && scmResourceGroup == workingTree",
1856
"group": "1_modification"
1857
},
1858
{
1859
"command": "git.clean",
1860
"when": "scmProvider == git && scmResourceGroup == workingTree",
1861
"group": "inline@2"
1862
},
1863
{
1864
"command": "git.stage",
1865
"when": "scmProvider == git && scmResourceGroup == workingTree",
1866
"group": "inline@2"
1867
},
1868
{
1869
"command": "git.ignore",
1870
"when": "scmProvider == git && scmResourceGroup == workingTree",
1871
"group": "1_modification@3"
1872
},
1873
{
1874
"command": "git.stage",
1875
"when": "scmProvider == git && scmResourceGroup == untracked",
1876
"group": "1_modification"
1877
},
1878
{
1879
"command": "git.stage",
1880
"when": "scmProvider == git && scmResourceGroup == untracked",
1881
"group": "inline@2"
1882
},
1883
{
1884
"command": "git.clean",
1885
"when": "scmProvider == git && scmResourceGroup == untracked",
1886
"group": "1_modification"
1887
},
1888
{
1889
"command": "git.clean",
1890
"when": "scmProvider == git && scmResourceGroup == untracked",
1891
"group": "inline@2"
1892
},
1893
{
1894
"command": "git.ignore",
1895
"when": "scmProvider == git && scmResourceGroup == untracked",
1896
"group": "1_modification@3"
1897
}
1898
],
1899
"scm/resourceState/context": [
1900
{
1901
"command": "git.stage",
1902
"when": "scmProvider == git && scmResourceGroup == merge",
1903
"group": "1_modification"
1904
},
1905
{
1906
"command": "git.openFile",
1907
"when": "scmProvider == git && scmResourceGroup == merge",
1908
"group": "navigation"
1909
},
1910
{
1911
"command": "git.stage",
1912
"when": "scmProvider == git && scmResourceGroup == merge",
1913
"group": "inline@2"
1914
},
1915
{
1916
"command": "git.revealFileInOS.linux",
1917
"when": "scmProvider == git && scmResourceGroup == merge && remoteName == '' && isLinux",
1918
"group": "2_view@1"
1919
},
1920
{
1921
"command": "git.revealFileInOS.mac",
1922
"when": "scmProvider == git && scmResourceGroup == merge && remoteName == '' && isMac",
1923
"group": "2_view@1"
1924
},
1925
{
1926
"command": "git.revealFileInOS.windows",
1927
"when": "scmProvider == git && scmResourceGroup == merge && remoteName == '' && isWindows",
1928
"group": "2_view@1"
1929
},
1930
{
1931
"command": "git.revealInExplorer",
1932
"when": "scmProvider == git && scmResourceGroup == merge",
1933
"group": "2_view@2"
1934
},
1935
{
1936
"command": "git.openFile2",
1937
"when": "scmProvider == git && scmResourceGroup == merge && config.git.showInlineOpenFileAction && config.git.openDiffOnClick",
1938
"group": "inline@1"
1939
},
1940
{
1941
"command": "git.openChange",
1942
"when": "scmProvider == git && scmResourceGroup == merge && config.git.showInlineOpenFileAction && !config.git.openDiffOnClick",
1943
"group": "inline@1"
1944
},
1945
{
1946
"command": "git.openChange",
1947
"when": "scmProvider == git && scmResourceGroup == index",
1948
"group": "navigation"
1949
},
1950
{
1951
"command": "git.openFile",
1952
"when": "scmProvider == git && scmResourceGroup == index",
1953
"group": "navigation"
1954
},
1955
{
1956
"command": "git.openHEADFile",
1957
"when": "scmProvider == git && scmResourceGroup == index",
1958
"group": "navigation"
1959
},
1960
{
1961
"command": "git.unstage",
1962
"when": "scmProvider == git && scmResourceGroup == index",
1963
"group": "1_modification"
1964
},
1965
{
1966
"command": "git.unstage",
1967
"when": "scmProvider == git && scmResourceGroup == index",
1968
"group": "inline@2"
1969
},
1970
{
1971
"command": "git.revealFileInOS.linux",
1972
"when": "scmProvider == git && scmResourceGroup == index && remoteName == '' && isLinux",
1973
"group": "2_view@1"
1974
},
1975
{
1976
"command": "git.revealFileInOS.mac",
1977
"when": "scmProvider == git && scmResourceGroup == index && remoteName == '' && isMac",
1978
"group": "2_view@1"
1979
},
1980
{
1981
"command": "git.revealFileInOS.windows",
1982
"when": "scmProvider == git && scmResourceGroup == index && remoteName == '' && isWindows",
1983
"group": "2_view@1"
1984
},
1985
{
1986
"command": "git.revealInExplorer",
1987
"when": "scmProvider == git && scmResourceGroup == index",
1988
"group": "2_view@2"
1989
},
1990
{
1991
"command": "git.compareWithWorkspace",
1992
"when": "scmProvider == git && scmResourceGroup == index && scmResourceState == worktree",
1993
"group": "worktree_diff"
1994
},
1995
{
1996
"command": "git.openFile2",
1997
"when": "scmProvider == git && scmResourceGroup == index && config.git.showInlineOpenFileAction && config.git.openDiffOnClick",
1998
"group": "inline@1"
1999
},
2000
{
2001
"command": "git.openChange",
2002
"when": "scmProvider == git && scmResourceGroup == index && config.git.showInlineOpenFileAction && !config.git.openDiffOnClick",
2003
"group": "inline@1"
2004
},
2005
{
2006
"command": "git.openChange",
2007
"when": "scmProvider == git && scmResourceGroup == workingTree",
2008
"group": "navigation"
2009
},
2010
{
2011
"command": "git.openHEADFile",
2012
"when": "scmProvider == git && scmResourceGroup == workingTree",
2013
"group": "navigation"
2014
},
2015
{
2016
"command": "git.openFile",
2017
"when": "scmProvider == git && scmResourceGroup == workingTree",
2018
"group": "navigation"
2019
},
2020
{
2021
"command": "git.stage",
2022
"when": "scmProvider == git && scmResourceGroup == workingTree",
2023
"group": "1_modification"
2024
},
2025
{
2026
"command": "git.clean",
2027
"when": "scmProvider == git && scmResourceGroup == workingTree",
2028
"group": "1_modification"
2029
},
2030
{
2031
"command": "git.clean",
2032
"when": "scmProvider == git && scmResourceGroup == workingTree",
2033
"group": "inline@2"
2034
},
2035
{
2036
"command": "git.stage",
2037
"when": "scmProvider == git && scmResourceGroup == workingTree",
2038
"group": "inline@2"
2039
},
2040
{
2041
"command": "git.compareWithWorkspace",
2042
"when": "scmProvider == git && scmResourceGroup == workingTree && scmResourceState == worktree",
2043
"group": "worktree_diff"
2044
},
2045
{
2046
"command": "git.openFile2",
2047
"when": "scmProvider == git && scmResourceGroup == workingTree && config.git.showInlineOpenFileAction && config.git.openDiffOnClick",
2048
"group": "inline@1"
2049
},
2050
{
2051
"command": "git.openChange",
2052
"when": "scmProvider == git && scmResourceGroup == workingTree && config.git.showInlineOpenFileAction && !config.git.openDiffOnClick",
2053
"group": "inline@1"
2054
},
2055
{
2056
"command": "git.ignore",
2057
"when": "scmProvider == git && scmResourceGroup == workingTree",
2058
"group": "1_modification@3"
2059
},
2060
{
2061
"command": "git.revealFileInOS.linux",
2062
"when": "scmProvider == git && scmResourceGroup == workingTree && remoteName == '' && isLinux",
2063
"group": "2_view@1"
2064
},
2065
{
2066
"command": "git.revealFileInOS.mac",
2067
"when": "scmProvider == git && scmResourceGroup == workingTree && remoteName == '' && isMac",
2068
"group": "2_view@1"
2069
},
2070
{
2071
"command": "git.revealFileInOS.windows",
2072
"when": "scmProvider == git && scmResourceGroup == workingTree && remoteName == '' && isWindows",
2073
"group": "2_view@1"
2074
},
2075
{
2076
"command": "git.revealInExplorer",
2077
"when": "scmProvider == git && scmResourceGroup == workingTree",
2078
"group": "2_view@2"
2079
},
2080
{
2081
"command": "git.openChange",
2082
"when": "scmProvider == git && scmResourceGroup == untracked",
2083
"group": "navigation"
2084
},
2085
{
2086
"command": "git.openHEADFile",
2087
"when": "scmProvider == git && scmResourceGroup == untracked",
2088
"group": "navigation"
2089
},
2090
{
2091
"command": "git.openFile",
2092
"when": "scmProvider == git && scmResourceGroup == untracked",
2093
"group": "navigation"
2094
},
2095
{
2096
"command": "git.stage",
2097
"when": "scmProvider == git && scmResourceGroup == untracked",
2098
"group": "1_modification"
2099
},
2100
{
2101
"command": "git.clean",
2102
"when": "scmProvider == git && scmResourceGroup == untracked && !gitFreshRepository",
2103
"group": "1_modification"
2104
},
2105
{
2106
"command": "git.clean",
2107
"when": "scmProvider == git && scmResourceGroup == untracked && !gitFreshRepository",
2108
"group": "inline@2"
2109
},
2110
{
2111
"command": "git.stage",
2112
"when": "scmProvider == git && scmResourceGroup == untracked",
2113
"group": "inline@2"
2114
},
2115
{
2116
"command": "git.openFile2",
2117
"when": "scmProvider == git && scmResourceGroup == untracked && config.git.showInlineOpenFileAction && config.git.openDiffOnClick",
2118
"group": "inline@1"
2119
},
2120
{
2121
"command": "git.openChange",
2122
"when": "scmProvider == git && scmResourceGroup == untracked && config.git.showInlineOpenFileAction && !config.git.openDiffOnClick",
2123
"group": "inline@1"
2124
},
2125
{
2126
"command": "git.ignore",
2127
"when": "scmProvider == git && scmResourceGroup == untracked",
2128
"group": "1_modification@3"
2129
}
2130
],
2131
"scm/history/title": [
2132
{
2133
"command": "git.fetchAll",
2134
"group": "navigation@900",
2135
"when": "scmProvider == git"
2136
},
2137
{
2138
"command": "git.pullRef",
2139
"group": "navigation@901",
2140
"when": "scmProvider == git"
2141
},
2142
{
2143
"command": "git.pushRef",
2144
"when": "scmProvider == git && scmCurrentHistoryItemRefHasRemote",
2145
"group": "navigation@902"
2146
},
2147
{
2148
"command": "git.publish",
2149
"when": "scmProvider == git && !scmCurrentHistoryItemRefHasRemote",
2150
"group": "navigation@903"
2151
}
2152
],
2153
"scm/historyItem/context": [
2154
{
2155
"command": "git.graph.checkoutDetached",
2156
"when": "scmProvider == git",
2157
"group": "1_checkout@2"
2158
},
2159
{
2160
"command": "git.branch",
2161
"when": "scmProvider == git",
2162
"group": "2_branch@2"
2163
},
2164
{
2165
"command": "git.createTag",
2166
"when": "scmProvider == git",
2167
"group": "3_tag@1"
2168
},
2169
{
2170
"command": "git.graph.cherryPick",
2171
"when": "scmProvider == git",
2172
"group": "4_modify@1"
2173
},
2174
{
2175
"command": "git.copyCommitId",
2176
"when": "scmProvider == git && !listMultiSelection",
2177
"group": "9_copy@1"
2178
},
2179
{
2180
"command": "git.copyCommitMessage",
2181
"when": "scmProvider == git && !listMultiSelection",
2182
"group": "9_copy@2"
2183
}
2184
],
2185
"scm/historyItemRef/context": [
2186
{
2187
"command": "git.graph.checkout",
2188
"when": "scmProvider == git",
2189
"group": "1_checkout@1"
2190
},
2191
{
2192
"command": "git.graph.deleteBranch",
2193
"when": "scmProvider == git && scmHistoryItemRef =~ /^refs\\/heads\\/|^refs\\/remotes\\//",
2194
"group": "2_branch@2"
2195
},
2196
{
2197
"command": "git.graph.deleteTag",
2198
"when": "scmProvider == git && scmHistoryItemRef =~ /^refs\\/tags\\//",
2199
"group": "3_tag@2"
2200
}
2201
],
2202
"editor/title": [
2203
{
2204
"command": "git.openFile",
2205
"group": "navigation",
2206
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/"
2207
},
2208
{
2209
"command": "git.openFile",
2210
"group": "navigation",
2211
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && isInNotebookTextDiffEditor && resourceScheme =~ /^git$|^file$/"
2212
},
2213
{
2214
"command": "git.openChange",
2215
"group": "navigation@2",
2216
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && !isInDiffEditor && !isMergeEditor && resourceScheme == file && scmActiveResourceHasChanges"
2217
},
2218
{
2219
"command": "git.commitMessageAccept",
2220
"group": "navigation",
2221
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && editorLangId == git-commit"
2222
},
2223
{
2224
"command": "git.commitMessageDiscard",
2225
"group": "navigation",
2226
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && editorLangId == git-commit"
2227
},
2228
{
2229
"command": "git.stashApplyEditor",
2230
"alt": "git.stashPopEditor",
2231
"group": "navigation@1",
2232
"when": "config.git.enabled && !git.missing && resourceScheme == git-stash"
2233
},
2234
{
2235
"command": "git.stashDropEditor",
2236
"group": "navigation@2",
2237
"when": "config.git.enabled && !git.missing && resourceScheme == git-stash"
2238
},
2239
{
2240
"command": "git.stage",
2241
"group": "2_git@1",
2242
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && !isInDiffEditor && !isMergeEditor && resourceScheme == file && git.activeResourceHasUnstagedChanges"
2243
},
2244
{
2245
"command": "git.unstage",
2246
"group": "2_git@2",
2247
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && !isInDiffEditor && !isMergeEditor && resourceScheme == file && git.activeResourceHasStagedChanges"
2248
},
2249
{
2250
"command": "git.stage",
2251
"group": "2_git@1",
2252
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && isInDiffEditor && isInDiffRightEditor && !isEmbeddedDiffEditor && resourceScheme == file"
2253
},
2254
{
2255
"command": "git.stageSelectedRanges",
2256
"group": "2_git@2",
2257
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && isInDiffEditor && isInDiffRightEditor && !isEmbeddedDiffEditor && resourceScheme == file"
2258
},
2259
{
2260
"command": "git.unstage",
2261
"group": "2_git@3",
2262
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && isInDiffEditor && isInDiffRightEditor && !isEmbeddedDiffEditor && resourceScheme == git"
2263
},
2264
{
2265
"command": "git.unstageSelectedRanges",
2266
"group": "2_git@4",
2267
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && isInDiffEditor && isInDiffRightEditor && !isEmbeddedDiffEditor && resourceScheme == git"
2268
},
2269
{
2270
"command": "git.revertSelectedRanges",
2271
"group": "2_git@5",
2272
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && isInDiffEditor && isInDiffRightEditor && !isEmbeddedDiffEditor && resourceScheme == file"
2273
}
2274
],
2275
"editor/context": [
2276
{
2277
"command": "git.stageSelectedRanges",
2278
"group": "2_git@1",
2279
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && isInDiffEditor && isInDiffRightEditor && !isEmbeddedDiffEditor && resourceScheme == file"
2280
},
2281
{
2282
"command": "git.unstageSelectedRanges",
2283
"group": "2_git@2",
2284
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && isInDiffEditor && isInDiffRightEditor && !isEmbeddedDiffEditor && resourceScheme == git"
2285
},
2286
{
2287
"command": "git.revertSelectedRanges",
2288
"group": "2_git@3",
2289
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && isInDiffEditor && isInDiffRightEditor && !isEmbeddedDiffEditor && resourceScheme == file"
2290
}
2291
],
2292
"editor/content": [
2293
{
2294
"command": "git.acceptMerge",
2295
"when": "isMergeResultEditor && mergeEditorBaseUri =~ /^(git|file):/ && mergeEditorResultUri in git.mergeChanges"
2296
},
2297
{
2298
"command": "git.openMergeEditor",
2299
"group": "navigation@-10",
2300
"when": "config.git.enabled && !git.missing && !isInDiffEditor && !isMergeEditor && resource in git.mergeChanges"
2301
}
2302
],
2303
"multiDiffEditor/resource/title": [
2304
{
2305
"command": "git.stageFile",
2306
"group": "navigation",
2307
"when": "scmProvider == git && scmResourceGroup == workingTree"
2308
},
2309
{
2310
"command": "git.stageFile",
2311
"group": "navigation",
2312
"when": "scmProvider == git && scmResourceGroup == untracked"
2313
},
2314
{
2315
"command": "git.unstageFile",
2316
"group": "navigation",
2317
"when": "scmProvider == git && scmResourceGroup == index"
2318
}
2319
],
2320
"diffEditor/gutter/hunk": [
2321
{
2322
"command": "git.diff.stageHunk",
2323
"group": "primary@10",
2324
"when": "diffEditorOriginalUri =~ /^git\\:.*%22ref%22%3A%22~%22%7D$/"
2325
}
2326
],
2327
"diffEditor/gutter/selection": [
2328
{
2329
"command": "git.diff.stageSelection",
2330
"group": "primary@10",
2331
"when": "diffEditorOriginalUri =~ /^git\\:.*%22ref%22%3A%22~%22%7D$/"
2332
}
2333
],
2334
"scm/change/title": [
2335
{
2336
"command": "git.stageChange",
2337
"when": "config.git.enabled && !git.missing && originalResource =~ /^git\\:.*%22ref%22%3A%22%22%7D$/"
2338
},
2339
{
2340
"command": "git.revertChange",
2341
"when": "config.git.enabled && !git.missing && originalResource =~ /^git\\:.*%22ref%22%3A%22%22%7D$/"
2342
},
2343
{
2344
"command": "git.unstageChange",
2345
"when": "false"
2346
}
2347
],
2348
"timeline/item/context": [
2349
{
2350
"command": "git.timeline.viewCommit",
2351
"group": "inline",
2352
"when": "config.git.enabled && !git.missing && timelineItem =~ /git:file:commit\\b/ && !listMultiSelection && config.multiDiffEditor.experimental.enabled"
2353
},
2354
{
2355
"command": "git.timeline.openDiff",
2356
"group": "1_actions@1",
2357
"when": "config.git.enabled && !git.missing && timelineItem =~ /git:file\\b/ && !listMultiSelection"
2358
},
2359
{
2360
"command": "git.timeline.viewCommit",
2361
"group": "1_actions@2",
2362
"when": "config.git.enabled && !git.missing && timelineItem =~ /git:file:commit\\b/ && !listMultiSelection && config.multiDiffEditor.experimental.enabled"
2363
},
2364
{
2365
"command": "git.timeline.compareWithSelected",
2366
"group": "3_compare@1",
2367
"when": "config.git.enabled && !git.missing && git.timeline.selectedForCompare && timelineItem =~ /git:file\\b/ && !listMultiSelection"
2368
},
2369
{
2370
"command": "git.timeline.selectForCompare",
2371
"group": "3_compare@2",
2372
"when": "config.git.enabled && !git.missing && timelineItem =~ /git:file\\b/ && !listMultiSelection"
2373
},
2374
{
2375
"command": "git.timeline.copyCommitId",
2376
"group": "5_copy@1",
2377
"when": "config.git.enabled && !git.missing && timelineItem =~ /git:file:commit\\b/ && !listMultiSelection"
2378
},
2379
{
2380
"command": "git.timeline.copyCommitMessage",
2381
"group": "5_copy@2",
2382
"when": "config.git.enabled && !git.missing && timelineItem =~ /git:file:commit\\b/ && !listMultiSelection"
2383
}
2384
],
2385
"git.commit": [
2386
{
2387
"command": "git.commit",
2388
"group": "1_commit@1"
2389
},
2390
{
2391
"command": "git.commitStaged",
2392
"group": "1_commit@2"
2393
},
2394
{
2395
"command": "git.commitAll",
2396
"group": "1_commit@3"
2397
},
2398
{
2399
"command": "git.undoCommit",
2400
"group": "1_commit@4"
2401
},
2402
{
2403
"command": "git.rebaseAbort",
2404
"group": "1_commit@5"
2405
},
2406
{
2407
"command": "git.commitNoVerify",
2408
"group": "2_commit_noverify@1",
2409
"when": "config.git.allowNoVerifyCommit"
2410
},
2411
{
2412
"command": "git.commitStagedNoVerify",
2413
"group": "2_commit_noverify@2",
2414
"when": "config.git.allowNoVerifyCommit"
2415
},
2416
{
2417
"command": "git.commitAllNoVerify",
2418
"group": "2_commit_noverify@3",
2419
"when": "config.git.allowNoVerifyCommit"
2420
},
2421
{
2422
"command": "git.commitAmend",
2423
"group": "3_amend@1"
2424
},
2425
{
2426
"command": "git.commitStagedAmend",
2427
"group": "3_amend@2"
2428
},
2429
{
2430
"command": "git.commitAllAmend",
2431
"group": "3_amend@3"
2432
},
2433
{
2434
"command": "git.commitAmendNoVerify",
2435
"group": "4_amend_noverify@1",
2436
"when": "config.git.allowNoVerifyCommit"
2437
},
2438
{
2439
"command": "git.commitStagedAmendNoVerify",
2440
"group": "4_amend_noverify@2",
2441
"when": "config.git.allowNoVerifyCommit"
2442
},
2443
{
2444
"command": "git.commitAllAmendNoVerify",
2445
"group": "4_amend_noverify@3",
2446
"when": "config.git.allowNoVerifyCommit"
2447
},
2448
{
2449
"command": "git.commitSigned",
2450
"group": "5_signoff@1"
2451
},
2452
{
2453
"command": "git.commitStagedSigned",
2454
"group": "5_signoff@2"
2455
},
2456
{
2457
"command": "git.commitAllSigned",
2458
"group": "5_signoff@3"
2459
},
2460
{
2461
"command": "git.commitSignedNoVerify",
2462
"group": "6_signoff_noverify@1",
2463
"when": "config.git.allowNoVerifyCommit"
2464
},
2465
{
2466
"command": "git.commitStagedSignedNoVerify",
2467
"group": "6_signoff_noverify@2",
2468
"when": "config.git.allowNoVerifyCommit"
2469
},
2470
{
2471
"command": "git.commitAllSignedNoVerify",
2472
"group": "6_signoff_noverify@3",
2473
"when": "config.git.allowNoVerifyCommit"
2474
}
2475
],
2476
"git.changes": [
2477
{
2478
"command": "git.stageAll",
2479
"group": "changes@1"
2480
},
2481
{
2482
"command": "git.unstageAll",
2483
"group": "changes@2"
2484
},
2485
{
2486
"command": "git.cleanAll",
2487
"group": "changes@3"
2488
}
2489
],
2490
"git.pullpush": [
2491
{
2492
"command": "git.sync",
2493
"group": "1_sync@1"
2494
},
2495
{
2496
"command": "git.syncRebase",
2497
"when": "gitState == idle",
2498
"group": "1_sync@2"
2499
},
2500
{
2501
"command": "git.pull",
2502
"group": "2_pull@1"
2503
},
2504
{
2505
"command": "git.pullRebase",
2506
"group": "2_pull@2"
2507
},
2508
{
2509
"command": "git.pullFrom",
2510
"group": "2_pull@3"
2511
},
2512
{
2513
"command": "git.push",
2514
"group": "3_push@1"
2515
},
2516
{
2517
"command": "git.pushForce",
2518
"when": "config.git.allowForcePush",
2519
"group": "3_push@2"
2520
},
2521
{
2522
"command": "git.pushTo",
2523
"group": "3_push@3"
2524
},
2525
{
2526
"command": "git.pushToForce",
2527
"when": "config.git.allowForcePush",
2528
"group": "3_push@4"
2529
},
2530
{
2531
"command": "git.fetch",
2532
"group": "4_fetch@1"
2533
},
2534
{
2535
"command": "git.fetchPrune",
2536
"group": "4_fetch@2"
2537
},
2538
{
2539
"command": "git.fetchAll",
2540
"group": "4_fetch@3"
2541
}
2542
],
2543
"git.branch": [
2544
{
2545
"command": "git.merge",
2546
"group": "1_merge@1"
2547
},
2548
{
2549
"command": "git.rebase",
2550
"group": "1_merge@2"
2551
},
2552
{
2553
"command": "git.branch",
2554
"group": "2_branch@1"
2555
},
2556
{
2557
"command": "git.branchFrom",
2558
"group": "2_branch@2"
2559
},
2560
{
2561
"command": "git.renameBranch",
2562
"group": "3_modify@1"
2563
},
2564
{
2565
"command": "git.deleteBranch",
2566
"group": "3_modify@2"
2567
},
2568
{
2569
"command": "git.deleteRemoteBranch",
2570
"group": "3_modify@3"
2571
},
2572
{
2573
"command": "git.publish",
2574
"group": "4_publish@1"
2575
}
2576
],
2577
"git.remotes": [
2578
{
2579
"command": "git.addRemote",
2580
"group": "remote@1"
2581
},
2582
{
2583
"command": "git.removeRemote",
2584
"group": "remote@2"
2585
}
2586
],
2587
"git.stash": [
2588
{
2589
"command": "git.stash",
2590
"group": "1_stash@1"
2591
},
2592
{
2593
"command": "git.stashIncludeUntracked",
2594
"group": "1_stash@2"
2595
},
2596
{
2597
"command": "git.stashStaged",
2598
"when": "gitVersion2.35",
2599
"group": "1_stash@3"
2600
},
2601
{
2602
"command": "git.stashApplyLatest",
2603
"group": "2_apply@1"
2604
},
2605
{
2606
"command": "git.stashApply",
2607
"group": "2_apply@2"
2608
},
2609
{
2610
"command": "git.stashPopLatest",
2611
"group": "3_pop@1"
2612
},
2613
{
2614
"command": "git.stashPop",
2615
"group": "3_pop@2"
2616
},
2617
{
2618
"command": "git.stashDrop",
2619
"group": "4_drop@1"
2620
},
2621
{
2622
"command": "git.stashDropAll",
2623
"group": "4_drop@2"
2624
},
2625
{
2626
"command": "git.stashView",
2627
"when": "config.multiDiffEditor.experimental.enabled",
2628
"group": "5_preview@1"
2629
}
2630
],
2631
"git.tags": [
2632
{
2633
"command": "git.createTag",
2634
"group": "tags@1"
2635
},
2636
{
2637
"command": "git.deleteTag",
2638
"group": "tags@2"
2639
},
2640
{
2641
"command": "git.deleteRemoteTag",
2642
"group": "tags@3"
2643
}
2644
],
2645
"git.worktrees": [
2646
{
2647
"when": "scmProviderContext == worktree",
2648
"command": "git.openWorktree",
2649
"group": "openWorktrees@1"
2650
},
2651
{
2652
"when": "scmProviderContext == worktree",
2653
"command": "git.openWorktreeInNewWindow",
2654
"group": "openWorktrees@2"
2655
},
2656
{
2657
"when": "scmProviderContext == repository",
2658
"command": "git.createWorktree",
2659
"group": "worktrees@1"
2660
},
2661
{
2662
"when": "scmProviderContext == worktree",
2663
"command": "git.deleteWorktree",
2664
"group": "worktrees@2"
2665
}
2666
]
2667
},
2668
"submenus": [
2669
{
2670
"id": "git.commit",
2671
"label": "%submenu.commit%"
2672
},
2673
{
2674
"id": "git.changes",
2675
"label": "%submenu.changes%"
2676
},
2677
{
2678
"id": "git.pullpush",
2679
"label": "%submenu.pullpush%"
2680
},
2681
{
2682
"id": "git.branch",
2683
"label": "%submenu.branch%"
2684
},
2685
{
2686
"id": "git.remotes",
2687
"label": "%submenu.remotes%"
2688
},
2689
{
2690
"id": "git.stash",
2691
"label": "%submenu.stash%"
2692
},
2693
{
2694
"id": "git.tags",
2695
"label": "%submenu.tags%"
2696
},
2697
{
2698
"id": "git.worktrees",
2699
"label": "%submenu.worktrees%"
2700
}
2701
],
2702
"configuration": {
2703
"title": "Git",
2704
"properties": {
2705
"git.enabled": {
2706
"type": "boolean",
2707
"scope": "resource",
2708
"description": "%config.enabled%",
2709
"default": true
2710
},
2711
"git.path": {
2712
"type": [
2713
"string",
2714
"null",
2715
"array"
2716
],
2717
"markdownDescription": "%config.path%",
2718
"default": null,
2719
"scope": "machine"
2720
},
2721
"git.autoRepositoryDetection": {
2722
"type": [
2723
"boolean",
2724
"string"
2725
],
2726
"enum": [
2727
true,
2728
false,
2729
"subFolders",
2730
"openEditors"
2731
],
2732
"enumDescriptions": [
2733
"%config.autoRepositoryDetection.true%",
2734
"%config.autoRepositoryDetection.false%",
2735
"%config.autoRepositoryDetection.subFolders%",
2736
"%config.autoRepositoryDetection.openEditors%"
2737
],
2738
"description": "%config.autoRepositoryDetection%",
2739
"default": true
2740
},
2741
"git.autorefresh": {
2742
"type": "boolean",
2743
"description": "%config.autorefresh%",
2744
"default": true
2745
},
2746
"git.autofetch": {
2747
"type": [
2748
"boolean",
2749
"string"
2750
],
2751
"enum": [
2752
true,
2753
false,
2754
"all"
2755
],
2756
"scope": "resource",
2757
"markdownDescription": "%config.autofetch%",
2758
"default": false,
2759
"tags": [
2760
"usesOnlineServices"
2761
]
2762
},
2763
"git.autofetchPeriod": {
2764
"type": "number",
2765
"scope": "resource",
2766
"markdownDescription": "%config.autofetchPeriod%",
2767
"default": 180
2768
},
2769
"git.defaultBranchName": {
2770
"type": "string",
2771
"markdownDescription": "%config.defaultBranchName%",
2772
"default": "main",
2773
"scope": "resource"
2774
},
2775
"git.branchPrefix": {
2776
"type": "string",
2777
"description": "%config.branchPrefix%",
2778
"default": "",
2779
"scope": "resource"
2780
},
2781
"git.branchProtection": {
2782
"type": "array",
2783
"markdownDescription": "%config.branchProtection%",
2784
"items": {
2785
"type": "string"
2786
},
2787
"default": [],
2788
"scope": "resource"
2789
},
2790
"git.branchProtectionPrompt": {
2791
"type": "string",
2792
"description": "%config.branchProtectionPrompt%",
2793
"enum": [
2794
"alwaysCommit",
2795
"alwaysCommitToNewBranch",
2796
"alwaysPrompt"
2797
],
2798
"enumDescriptions": [
2799
"%config.branchProtectionPrompt.alwaysCommit%",
2800
"%config.branchProtectionPrompt.alwaysCommitToNewBranch%",
2801
"%config.branchProtectionPrompt.alwaysPrompt%"
2802
],
2803
"default": "alwaysPrompt",
2804
"scope": "resource"
2805
},
2806
"git.branchValidationRegex": {
2807
"type": "string",
2808
"description": "%config.branchValidationRegex%",
2809
"default": ""
2810
},
2811
"git.branchWhitespaceChar": {
2812
"type": "string",
2813
"description": "%config.branchWhitespaceChar%",
2814
"default": "-"
2815
},
2816
"git.branchRandomName.enable": {
2817
"type": "boolean",
2818
"description": "%config.branchRandomNameEnable%",
2819
"default": false,
2820
"scope": "resource"
2821
},
2822
"git.branchRandomName.dictionary": {
2823
"type": "array",
2824
"markdownDescription": "%config.branchRandomNameDictionary%",
2825
"items": {
2826
"type": "string",
2827
"enum": [
2828
"adjectives",
2829
"animals",
2830
"colors",
2831
"numbers"
2832
],
2833
"enumDescriptions": [
2834
"%config.branchRandomNameDictionary.adjectives%",
2835
"%config.branchRandomNameDictionary.animals%",
2836
"%config.branchRandomNameDictionary.colors%",
2837
"%config.branchRandomNameDictionary.numbers%"
2838
]
2839
},
2840
"minItems": 1,
2841
"maxItems": 5,
2842
"default": [
2843
"adjectives",
2844
"animals"
2845
],
2846
"scope": "resource"
2847
},
2848
"git.confirmSync": {
2849
"type": "boolean",
2850
"description": "%config.confirmSync%",
2851
"default": true
2852
},
2853
"git.countBadge": {
2854
"type": "string",
2855
"enum": [
2856
"all",
2857
"tracked",
2858
"off"
2859
],
2860
"enumDescriptions": [
2861
"%config.countBadge.all%",
2862
"%config.countBadge.tracked%",
2863
"%config.countBadge.off%"
2864
],
2865
"description": "%config.countBadge%",
2866
"default": "all",
2867
"scope": "resource"
2868
},
2869
"git.checkoutType": {
2870
"type": "array",
2871
"items": {
2872
"type": "string",
2873
"enum": [
2874
"local",
2875
"tags",
2876
"remote"
2877
],
2878
"enumDescriptions": [
2879
"%config.checkoutType.local%",
2880
"%config.checkoutType.tags%",
2881
"%config.checkoutType.remote%"
2882
]
2883
},
2884
"uniqueItems": true,
2885
"markdownDescription": "%config.checkoutType%",
2886
"default": [
2887
"local",
2888
"remote",
2889
"tags"
2890
]
2891
},
2892
"git.ignoreLegacyWarning": {
2893
"type": "boolean",
2894
"description": "%config.ignoreLegacyWarning%",
2895
"default": false
2896
},
2897
"git.ignoreMissingGitWarning": {
2898
"type": "boolean",
2899
"description": "%config.ignoreMissingGitWarning%",
2900
"default": false
2901
},
2902
"git.ignoreWindowsGit27Warning": {
2903
"type": "boolean",
2904
"description": "%config.ignoreWindowsGit27Warning%",
2905
"default": false
2906
},
2907
"git.ignoreLimitWarning": {
2908
"type": "boolean",
2909
"description": "%config.ignoreLimitWarning%",
2910
"default": false
2911
},
2912
"git.ignoreRebaseWarning": {
2913
"type": "boolean",
2914
"description": "%config.ignoreRebaseWarning%",
2915
"default": false
2916
},
2917
"git.defaultCloneDirectory": {
2918
"type": [
2919
"string",
2920
"null"
2921
],
2922
"default": null,
2923
"scope": "machine",
2924
"description": "%config.defaultCloneDirectory%"
2925
},
2926
"git.useEditorAsCommitInput": {
2927
"type": "boolean",
2928
"description": "%config.useEditorAsCommitInput%",
2929
"default": true
2930
},
2931
"git.verboseCommit": {
2932
"type": "boolean",
2933
"scope": "resource",
2934
"markdownDescription": "%config.verboseCommit%",
2935
"default": false
2936
},
2937
"git.enableSmartCommit": {
2938
"type": "boolean",
2939
"scope": "resource",
2940
"description": "%config.enableSmartCommit%",
2941
"default": false
2942
},
2943
"git.smartCommitChanges": {
2944
"type": "string",
2945
"enum": [
2946
"all",
2947
"tracked"
2948
],
2949
"enumDescriptions": [
2950
"%config.smartCommitChanges.all%",
2951
"%config.smartCommitChanges.tracked%"
2952
],
2953
"scope": "resource",
2954
"description": "%config.smartCommitChanges%",
2955
"default": "all"
2956
},
2957
"git.suggestSmartCommit": {
2958
"type": "boolean",
2959
"scope": "resource",
2960
"description": "%config.suggestSmartCommit%",
2961
"default": true
2962
},
2963
"git.enableCommitSigning": {
2964
"type": "boolean",
2965
"scope": "resource",
2966
"description": "%config.enableCommitSigning%",
2967
"default": false
2968
},
2969
"git.confirmEmptyCommits": {
2970
"type": "boolean",
2971
"scope": "resource",
2972
"description": "%config.confirmEmptyCommits%",
2973
"default": true
2974
},
2975
"git.decorations.enabled": {
2976
"type": "boolean",
2977
"default": true,
2978
"description": "%config.decorations.enabled%"
2979
},
2980
"git.enableStatusBarSync": {
2981
"type": "boolean",
2982
"default": true,
2983
"description": "%config.enableStatusBarSync%",
2984
"scope": "resource"
2985
},
2986
"git.followTagsWhenSync": {
2987
"type": "boolean",
2988
"scope": "resource",
2989
"default": false,
2990
"description": "%config.followTagsWhenSync%"
2991
},
2992
"git.replaceTagsWhenPull": {
2993
"type": "boolean",
2994
"scope": "resource",
2995
"default": false,
2996
"description": "%config.replaceTagsWhenPull%"
2997
},
2998
"git.promptToSaveFilesBeforeStash": {
2999
"type": "string",
3000
"enum": [
3001
"always",
3002
"staged",
3003
"never"
3004
],
3005
"enumDescriptions": [
3006
"%config.promptToSaveFilesBeforeStash.always%",
3007
"%config.promptToSaveFilesBeforeStash.staged%",
3008
"%config.promptToSaveFilesBeforeStash.never%"
3009
],
3010
"scope": "resource",
3011
"default": "always",
3012
"description": "%config.promptToSaveFilesBeforeStash%"
3013
},
3014
"git.promptToSaveFilesBeforeCommit": {
3015
"type": "string",
3016
"enum": [
3017
"always",
3018
"staged",
3019
"never"
3020
],
3021
"enumDescriptions": [
3022
"%config.promptToSaveFilesBeforeCommit.always%",
3023
"%config.promptToSaveFilesBeforeCommit.staged%",
3024
"%config.promptToSaveFilesBeforeCommit.never%"
3025
],
3026
"scope": "resource",
3027
"default": "always",
3028
"description": "%config.promptToSaveFilesBeforeCommit%"
3029
},
3030
"git.postCommitCommand": {
3031
"type": "string",
3032
"enum": [
3033
"none",
3034
"push",
3035
"sync"
3036
],
3037
"enumDescriptions": [
3038
"%config.postCommitCommand.none%",
3039
"%config.postCommitCommand.push%",
3040
"%config.postCommitCommand.sync%"
3041
],
3042
"markdownDescription": "%config.postCommitCommand%",
3043
"scope": "resource",
3044
"default": "none"
3045
},
3046
"git.rememberPostCommitCommand": {
3047
"type": "boolean",
3048
"description": "%config.rememberPostCommitCommand%",
3049
"scope": "resource",
3050
"default": false
3051
},
3052
"git.openAfterClone": {
3053
"type": "string",
3054
"enum": [
3055
"always",
3056
"alwaysNewWindow",
3057
"whenNoFolderOpen",
3058
"prompt"
3059
],
3060
"enumDescriptions": [
3061
"%config.openAfterClone.always%",
3062
"%config.openAfterClone.alwaysNewWindow%",
3063
"%config.openAfterClone.whenNoFolderOpen%",
3064
"%config.openAfterClone.prompt%"
3065
],
3066
"default": "prompt",
3067
"description": "%config.openAfterClone%"
3068
},
3069
"git.showInlineOpenFileAction": {
3070
"type": "boolean",
3071
"default": true,
3072
"description": "%config.showInlineOpenFileAction%"
3073
},
3074
"git.showPushSuccessNotification": {
3075
"type": "boolean",
3076
"description": "%config.showPushSuccessNotification%",
3077
"default": false
3078
},
3079
"git.inputValidation": {
3080
"type": "boolean",
3081
"default": false,
3082
"description": "%config.inputValidation%"
3083
},
3084
"git.inputValidationLength": {
3085
"type": "number",
3086
"default": 72,
3087
"description": "%config.inputValidationLength%"
3088
},
3089
"git.inputValidationSubjectLength": {
3090
"type": [
3091
"number",
3092
"null"
3093
],
3094
"default": 50,
3095
"markdownDescription": "%config.inputValidationSubjectLength%"
3096
},
3097
"git.detectSubmodules": {
3098
"type": "boolean",
3099
"scope": "resource",
3100
"default": true,
3101
"description": "%config.detectSubmodules%"
3102
},
3103
"git.detectSubmodulesLimit": {
3104
"type": "number",
3105
"scope": "resource",
3106
"default": 10,
3107
"description": "%config.detectSubmodulesLimit%"
3108
},
3109
"git.detectWorktrees": {
3110
"type": "boolean",
3111
"scope": "resource",
3112
"default": true,
3113
"description": "%config.detectWorktrees%"
3114
},
3115
"git.detectWorktreesLimit": {
3116
"type": "number",
3117
"scope": "resource",
3118
"default": 10,
3119
"description": "%config.detectWorktreesLimit%"
3120
},
3121
"git.alwaysShowStagedChangesResourceGroup": {
3122
"type": "boolean",
3123
"scope": "resource",
3124
"default": false,
3125
"description": "%config.alwaysShowStagedChangesResourceGroup%"
3126
},
3127
"git.alwaysSignOff": {
3128
"type": "boolean",
3129
"scope": "resource",
3130
"default": false,
3131
"description": "%config.alwaysSignOff%"
3132
},
3133
"git.ignoreSubmodules": {
3134
"type": "boolean",
3135
"scope": "resource",
3136
"default": false,
3137
"description": "%config.ignoreSubmodules%"
3138
},
3139
"git.ignoredRepositories": {
3140
"type": "array",
3141
"items": {
3142
"type": "string"
3143
},
3144
"default": [],
3145
"scope": "window",
3146
"description": "%config.ignoredRepositories%"
3147
},
3148
"git.scanRepositories": {
3149
"type": "array",
3150
"items": {
3151
"type": "string"
3152
},
3153
"default": [],
3154
"scope": "resource",
3155
"description": "%config.scanRepositories%"
3156
},
3157
"git.showProgress": {
3158
"type": "boolean",
3159
"description": "%config.showProgress%",
3160
"default": true,
3161
"scope": "resource"
3162
},
3163
"git.rebaseWhenSync": {
3164
"type": "boolean",
3165
"scope": "resource",
3166
"default": false,
3167
"description": "%config.rebaseWhenSync%"
3168
},
3169
"git.pullBeforeCheckout": {
3170
"type": "boolean",
3171
"scope": "resource",
3172
"default": false,
3173
"description": "%config.pullBeforeCheckout%"
3174
},
3175
"git.fetchOnPull": {
3176
"type": "boolean",
3177
"scope": "resource",
3178
"default": false,
3179
"description": "%config.fetchOnPull%"
3180
},
3181
"git.pruneOnFetch": {
3182
"type": "boolean",
3183
"scope": "resource",
3184
"default": false,
3185
"description": "%config.pruneOnFetch%"
3186
},
3187
"git.pullTags": {
3188
"type": "boolean",
3189
"scope": "resource",
3190
"default": true,
3191
"description": "%config.pullTags%"
3192
},
3193
"git.autoStash": {
3194
"type": "boolean",
3195
"scope": "resource",
3196
"default": false,
3197
"description": "%config.autoStash%"
3198
},
3199
"git.allowForcePush": {
3200
"type": "boolean",
3201
"default": false,
3202
"description": "%config.allowForcePush%"
3203
},
3204
"git.useForcePushWithLease": {
3205
"type": "boolean",
3206
"default": true,
3207
"description": "%config.useForcePushWithLease%"
3208
},
3209
"git.useForcePushIfIncludes": {
3210
"type": "boolean",
3211
"default": true,
3212
"markdownDescription": "%config.useForcePushIfIncludes%"
3213
},
3214
"git.confirmForcePush": {
3215
"type": "boolean",
3216
"default": true,
3217
"description": "%config.confirmForcePush%"
3218
},
3219
"git.allowNoVerifyCommit": {
3220
"type": "boolean",
3221
"default": false,
3222
"description": "%config.allowNoVerifyCommit%"
3223
},
3224
"git.confirmNoVerifyCommit": {
3225
"type": "boolean",
3226
"default": true,
3227
"description": "%config.confirmNoVerifyCommit%"
3228
},
3229
"git.closeDiffOnOperation": {
3230
"type": "boolean",
3231
"scope": "resource",
3232
"default": false,
3233
"description": "%config.closeDiffOnOperation%"
3234
},
3235
"git.openDiffOnClick": {
3236
"type": "boolean",
3237
"scope": "resource",
3238
"default": true,
3239
"description": "%config.openDiffOnClick%"
3240
},
3241
"git.supportCancellation": {
3242
"type": "boolean",
3243
"scope": "resource",
3244
"default": false,
3245
"description": "%config.supportCancellation%"
3246
},
3247
"git.branchSortOrder": {
3248
"type": "string",
3249
"enum": [
3250
"committerdate",
3251
"alphabetically"
3252
],
3253
"default": "committerdate",
3254
"description": "%config.branchSortOrder%"
3255
},
3256
"git.untrackedChanges": {
3257
"type": "string",
3258
"enum": [
3259
"mixed",
3260
"separate",
3261
"hidden"
3262
],
3263
"enumDescriptions": [
3264
"%config.untrackedChanges.mixed%",
3265
"%config.untrackedChanges.separate%",
3266
"%config.untrackedChanges.hidden%"
3267
],
3268
"default": "mixed",
3269
"description": "%config.untrackedChanges%",
3270
"scope": "resource"
3271
},
3272
"git.requireGitUserConfig": {
3273
"type": "boolean",
3274
"description": "%config.requireGitUserConfig%",
3275
"default": true,
3276
"scope": "resource"
3277
},
3278
"git.showCommitInput": {
3279
"type": "boolean",
3280
"scope": "resource",
3281
"default": true,
3282
"description": "%config.showCommitInput%"
3283
},
3284
"git.terminalAuthentication": {
3285
"type": "boolean",
3286
"default": true,
3287
"description": "%config.terminalAuthentication%"
3288
},
3289
"git.terminalGitEditor": {
3290
"type": "boolean",
3291
"default": false,
3292
"description": "%config.terminalGitEditor%"
3293
},
3294
"git.useCommitInputAsStashMessage": {
3295
"type": "boolean",
3296
"scope": "resource",
3297
"default": false,
3298
"description": "%config.useCommitInputAsStashMessage%"
3299
},
3300
"git.useIntegratedAskPass": {
3301
"type": "boolean",
3302
"default": true,
3303
"description": "%config.useIntegratedAskPass%"
3304
},
3305
"git.githubAuthentication": {
3306
"markdownDeprecationMessage": "This setting is now deprecated, please use `#github.gitAuthentication#` instead."
3307
},
3308
"git.timeline.date": {
3309
"type": "string",
3310
"enum": [
3311
"committed",
3312
"authored"
3313
],
3314
"enumDescriptions": [
3315
"%config.timeline.date.committed%",
3316
"%config.timeline.date.authored%"
3317
],
3318
"default": "committed",
3319
"description": "%config.timeline.date%",
3320
"scope": "window"
3321
},
3322
"git.timeline.showAuthor": {
3323
"type": "boolean",
3324
"default": true,
3325
"description": "%config.timeline.showAuthor%",
3326
"scope": "window"
3327
},
3328
"git.timeline.showUncommitted": {
3329
"type": "boolean",
3330
"default": false,
3331
"description": "%config.timeline.showUncommitted%",
3332
"scope": "window"
3333
},
3334
"git.showActionButton": {
3335
"type": "object",
3336
"additionalProperties": false,
3337
"description": "%config.showActionButton%",
3338
"properties": {
3339
"commit": {
3340
"type": "boolean",
3341
"description": "%config.showActionButton.commit%"
3342
},
3343
"publish": {
3344
"type": "boolean",
3345
"description": "%config.showActionButton.publish%"
3346
},
3347
"sync": {
3348
"type": "boolean",
3349
"description": "%config.showActionButton.sync%"
3350
}
3351
},
3352
"default": {
3353
"commit": true,
3354
"publish": true,
3355
"sync": true
3356
},
3357
"scope": "resource"
3358
},
3359
"git.statusLimit": {
3360
"type": "number",
3361
"scope": "resource",
3362
"default": 10000,
3363
"description": "%config.statusLimit%"
3364
},
3365
"git.repositoryScanIgnoredFolders": {
3366
"type": "array",
3367
"items": {
3368
"type": "string"
3369
},
3370
"default": [
3371
"node_modules"
3372
],
3373
"scope": "resource",
3374
"markdownDescription": "%config.repositoryScanIgnoredFolders%"
3375
},
3376
"git.repositoryScanMaxDepth": {
3377
"type": "number",
3378
"scope": "resource",
3379
"default": 1,
3380
"markdownDescription": "%config.repositoryScanMaxDepth%"
3381
},
3382
"git.commandsToLog": {
3383
"type": "array",
3384
"items": {
3385
"type": "string"
3386
},
3387
"default": [],
3388
"markdownDescription": "%config.commandsToLog%"
3389
},
3390
"git.mergeEditor": {
3391
"type": "boolean",
3392
"default": false,
3393
"markdownDescription": "%config.mergeEditor%",
3394
"scope": "window"
3395
},
3396
"git.optimisticUpdate": {
3397
"type": "boolean",
3398
"default": true,
3399
"markdownDescription": "%config.optimisticUpdate%",
3400
"scope": "resource",
3401
"tags": [
3402
"experimental"
3403
]
3404
},
3405
"git.openRepositoryInParentFolders": {
3406
"type": "string",
3407
"enum": [
3408
"always",
3409
"never",
3410
"prompt"
3411
],
3412
"enumDescriptions": [
3413
"%config.openRepositoryInParentFolders.always%",
3414
"%config.openRepositoryInParentFolders.never%",
3415
"%config.openRepositoryInParentFolders.prompt%"
3416
],
3417
"default": "prompt",
3418
"markdownDescription": "%config.openRepositoryInParentFolders%",
3419
"scope": "resource"
3420
},
3421
"git.similarityThreshold": {
3422
"type": "number",
3423
"default": 50,
3424
"minimum": 0,
3425
"maximum": 100,
3426
"markdownDescription": "%config.similarityThreshold%",
3427
"scope": "resource"
3428
},
3429
"git.blame.editorDecoration.enabled": {
3430
"type": "boolean",
3431
"default": false,
3432
"markdownDescription": "%config.blameEditorDecoration.enabled%"
3433
},
3434
"git.blame.editorDecoration.template": {
3435
"type": "string",
3436
"default": "${subject}, ${authorName} (${authorDateAgo})",
3437
"markdownDescription": "%config.blameEditorDecoration.template%"
3438
},
3439
"git.blame.statusBarItem.enabled": {
3440
"type": "boolean",
3441
"default": true,
3442
"markdownDescription": "%config.blameStatusBarItem.enabled%"
3443
},
3444
"git.blame.statusBarItem.template": {
3445
"type": "string",
3446
"default": "${authorName} (${authorDateAgo})",
3447
"markdownDescription": "%config.blameStatusBarItem.template%"
3448
},
3449
"git.commitShortHashLength": {
3450
"type": "number",
3451
"default": 7,
3452
"minimum": 7,
3453
"maximum": 40,
3454
"markdownDescription": "%config.commitShortHashLength%",
3455
"scope": "resource"
3456
},
3457
"git.diagnosticsCommitHook.enabled": {
3458
"type": "boolean",
3459
"default": false,
3460
"markdownDescription": "%config.diagnosticsCommitHook.enabled%",
3461
"scope": "resource"
3462
},
3463
"git.diagnosticsCommitHook.sources": {
3464
"type": "object",
3465
"additionalProperties": {
3466
"type": "string",
3467
"enum": [
3468
"error",
3469
"warning",
3470
"information",
3471
"hint",
3472
"none"
3473
]
3474
},
3475
"default": {
3476
"*": "error"
3477
},
3478
"markdownDescription": "%config.diagnosticsCommitHook.sources%",
3479
"scope": "resource"
3480
},
3481
"git.discardUntrackedChangesToTrash": {
3482
"type": "boolean",
3483
"default": true,
3484
"markdownDescription": "%config.discardUntrackedChangesToTrash%"
3485
},
3486
"git.showReferenceDetails": {
3487
"type": "boolean",
3488
"default": true,
3489
"markdownDescription": "%config.showReferenceDetails%"
3490
}
3491
}
3492
},
3493
"colors": [
3494
{
3495
"id": "gitDecoration.addedResourceForeground",
3496
"description": "%colors.added%",
3497
"defaults": {
3498
"light": "#587c0c",
3499
"dark": "#81b88b",
3500
"highContrast": "#a1e3ad",
3501
"highContrastLight": "#374e06"
3502
}
3503
},
3504
{
3505
"id": "gitDecoration.modifiedResourceForeground",
3506
"description": "%colors.modified%",
3507
"defaults": {
3508
"light": "#895503",
3509
"dark": "#E2C08D",
3510
"highContrast": "#E2C08D",
3511
"highContrastLight": "#895503"
3512
}
3513
},
3514
{
3515
"id": "gitDecoration.deletedResourceForeground",
3516
"description": "%colors.deleted%",
3517
"defaults": {
3518
"light": "#ad0707",
3519
"dark": "#c74e39",
3520
"highContrast": "#c74e39",
3521
"highContrastLight": "#ad0707"
3522
}
3523
},
3524
{
3525
"id": "gitDecoration.renamedResourceForeground",
3526
"description": "%colors.renamed%",
3527
"defaults": {
3528
"light": "#007100",
3529
"dark": "#73C991",
3530
"highContrast": "#73C991",
3531
"highContrastLight": "#007100"
3532
}
3533
},
3534
{
3535
"id": "gitDecoration.untrackedResourceForeground",
3536
"description": "%colors.untracked%",
3537
"defaults": {
3538
"light": "#007100",
3539
"dark": "#73C991",
3540
"highContrast": "#73C991",
3541
"highContrastLight": "#007100"
3542
}
3543
},
3544
{
3545
"id": "gitDecoration.ignoredResourceForeground",
3546
"description": "%colors.ignored%",
3547
"defaults": {
3548
"light": "#8E8E90",
3549
"dark": "#8C8C8C",
3550
"highContrast": "#A7A8A9",
3551
"highContrastLight": "#8e8e90"
3552
}
3553
},
3554
{
3555
"id": "gitDecoration.stageModifiedResourceForeground",
3556
"description": "%colors.stageModified%",
3557
"defaults": {
3558
"light": "#895503",
3559
"dark": "#E2C08D",
3560
"highContrast": "#E2C08D",
3561
"highContrastLight": "#895503"
3562
}
3563
},
3564
{
3565
"id": "gitDecoration.stageDeletedResourceForeground",
3566
"description": "%colors.stageDeleted%",
3567
"defaults": {
3568
"light": "#ad0707",
3569
"dark": "#c74e39",
3570
"highContrast": "#c74e39",
3571
"highContrastLight": "#ad0707"
3572
}
3573
},
3574
{
3575
"id": "gitDecoration.conflictingResourceForeground",
3576
"description": "%colors.conflict%",
3577
"defaults": {
3578
"light": "#ad0707",
3579
"dark": "#e4676b",
3580
"highContrast": "#c74e39",
3581
"highContrastLight": "#ad0707"
3582
}
3583
},
3584
{
3585
"id": "gitDecoration.submoduleResourceForeground",
3586
"description": "%colors.submodule%",
3587
"defaults": {
3588
"light": "#1258a7",
3589
"dark": "#8db9e2",
3590
"highContrast": "#8db9e2",
3591
"highContrastLight": "#1258a7"
3592
}
3593
},
3594
{
3595
"id": "git.blame.editorDecorationForeground",
3596
"description": "%colors.blameEditorDecoration%",
3597
"defaults": {
3598
"dark": "editorInlayHint.foreground",
3599
"light": "editorInlayHint.foreground",
3600
"highContrast": "editorInlayHint.foreground",
3601
"highContrastLight": "editorInlayHint.foreground"
3602
}
3603
}
3604
],
3605
"configurationDefaults": {
3606
"[git-commit]": {
3607
"editor.rulers": [
3608
50,
3609
72
3610
],
3611
"editor.wordWrap": "off",
3612
"workbench.editor.restoreViewState": false
3613
},
3614
"[git-rebase]": {
3615
"workbench.editor.restoreViewState": false
3616
}
3617
},
3618
"viewsWelcome": [
3619
{
3620
"view": "scm",
3621
"contents": "%view.workbench.scm.disabled%",
3622
"when": "!config.git.enabled"
3623
},
3624
{
3625
"view": "scm",
3626
"contents": "%view.workbench.scm.missing%",
3627
"when": "config.git.enabled && git.missing && remoteName != ''"
3628
},
3629
{
3630
"view": "scm",
3631
"contents": "%view.workbench.scm.missing.mac%",
3632
"when": "config.git.enabled && git.missing && remoteName == '' && isMac"
3633
},
3634
{
3635
"view": "scm",
3636
"contents": "%view.workbench.scm.missing.windows%",
3637
"when": "config.git.enabled && git.missing && remoteName == '' && isWindows"
3638
},
3639
{
3640
"view": "scm",
3641
"contents": "%view.workbench.scm.missing.linux%",
3642
"when": "config.git.enabled && git.missing && remoteName == '' && isLinux"
3643
},
3644
{
3645
"view": "scm",
3646
"contents": "%view.workbench.scm.empty%",
3647
"when": "config.git.enabled && !git.missing && workbenchState == empty && git.parentRepositoryCount == 0 && git.unsafeRepositoryCount == 0 && git.closedRepositoryCount == 0",
3648
"enablement": "git.state == initialized",
3649
"group": "2_open@1"
3650
},
3651
{
3652
"view": "scm",
3653
"contents": "%view.workbench.scm.emptyWorkspace%",
3654
"when": "config.git.enabled && !git.missing && workbenchState == workspace && workspaceFolderCount == 0 && git.parentRepositoryCount == 0 && git.unsafeRepositoryCount == 0 && git.closedRepositoryCount == 0",
3655
"enablement": "git.state == initialized",
3656
"group": "2_open@1"
3657
},
3658
{
3659
"view": "scm",
3660
"contents": "%view.workbench.scm.scanFolderForRepositories%",
3661
"when": "config.git.enabled && !git.missing && workbenchState == folder && workspaceFolderCount != 0 && git.state != initialized"
3662
},
3663
{
3664
"view": "scm",
3665
"contents": "%view.workbench.scm.scanWorkspaceForRepositories%",
3666
"when": "config.git.enabled && !git.missing && workbenchState == workspace && workspaceFolderCount != 0 && git.state != initialized"
3667
},
3668
{
3669
"view": "scm",
3670
"contents": "%view.workbench.scm.folder%",
3671
"when": "config.git.enabled && !git.missing && git.state == initialized && workbenchState == folder && scm.providerCount == 0 && git.parentRepositoryCount == 0 && git.unsafeRepositoryCount == 0 && git.closedRepositoryCount == 0 && remoteName != 'codespaces'",
3672
"group": "5_scm@1"
3673
},
3674
{
3675
"view": "scm",
3676
"contents": "%view.workbench.scm.workspace%",
3677
"when": "config.git.enabled && !git.missing && git.state == initialized && workbenchState == workspace && workspaceFolderCount != 0 && scm.providerCount == 0 && git.parentRepositoryCount == 0 && git.unsafeRepositoryCount == 0 && git.closedRepositoryCount == 0 && remoteName != 'codespaces'",
3678
"group": "5_scm@1"
3679
},
3680
{
3681
"view": "scm",
3682
"contents": "%view.workbench.scm.repositoryInParentFolders%",
3683
"when": "config.git.enabled && !git.missing && git.state == initialized && git.parentRepositoryCount == 1"
3684
},
3685
{
3686
"view": "scm",
3687
"contents": "%view.workbench.scm.repositoriesInParentFolders%",
3688
"when": "config.git.enabled && !git.missing && git.state == initialized && git.parentRepositoryCount > 1"
3689
},
3690
{
3691
"view": "scm",
3692
"contents": "%view.workbench.scm.unsafeRepository%",
3693
"when": "config.git.enabled && !git.missing && git.state == initialized && git.unsafeRepositoryCount == 1"
3694
},
3695
{
3696
"view": "scm",
3697
"contents": "%view.workbench.scm.unsafeRepositories%",
3698
"when": "config.git.enabled && !git.missing && git.state == initialized && git.unsafeRepositoryCount > 1"
3699
},
3700
{
3701
"view": "scm",
3702
"contents": "%view.workbench.scm.closedRepository%",
3703
"when": "config.git.enabled && !git.missing && git.state == initialized && git.closedRepositoryCount == 1"
3704
},
3705
{
3706
"view": "scm",
3707
"contents": "%view.workbench.scm.closedRepositories%",
3708
"when": "config.git.enabled && !git.missing && git.state == initialized && git.closedRepositoryCount > 1"
3709
},
3710
{
3711
"view": "explorer",
3712
"contents": "%view.workbench.cloneRepository%",
3713
"when": "config.git.enabled && git.state == initialized && scm.providerCount == 0",
3714
"group": "5_scm@1"
3715
},
3716
{
3717
"view": "explorer",
3718
"contents": "%view.workbench.learnMore%",
3719
"when": "config.git.enabled && git.state == initialized && scm.providerCount == 0",
3720
"group": "5_scm@10"
3721
}
3722
]
3723
},
3724
"dependencies": {
3725
"@joaomoreno/unique-names-generator": "^5.2.0",
3726
"@vscode/extension-telemetry": "^0.9.8",
3727
"byline": "^5.0.0",
3728
"file-type": "16.5.4",
3729
"picomatch": "2.3.1",
3730
"vscode-uri": "^2.0.0",
3731
"which": "4.0.0"
3732
},
3733
"devDependencies": {
3734
"@types/byline": "4.2.31",
3735
"@types/mocha": "^9.1.1",
3736
"@types/node": "22.x",
3737
"@types/picomatch": "2.3.0",
3738
"@types/which": "3.0.0"
3739
},
3740
"repository": {
3741
"type": "git",
3742
"url": "https://github.com/microsoft/vscode.git"
3743
}
3744
}
3745
3746