-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathen-US.json
3299 lines (3299 loc) · 78.5 KB
/
en-US.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"root": [
{
"name": "init",
"tip": [
"U: init [options]\n",
"Create an empty Git repository or reinitialize an existing repository."
],
"options": [
{
"name": "-q",
"alias": [
"--quiet"
],
"tip": [
"U: -q|--quiet\n",
"Only print error and warning messages; all other output will be suppressed."
]
},
{
"name": "--bare",
"tip": [
"Create a bare repository.\n",
"If GIT_DIR environment is not set, it is set to the current working directory."
]
},
{
"name": "--object-format=",
"tip": [
"U: --object-format=<format>\n",
"Specify the given object <format> (hash algorithm) for the repository.\n",
"The valid values are sha1 and (if enabled) sha256. sha1 is the default."
],
"next": [
{
"name": "sha1"
},
{
"name": "sha256"
}
]
},
{
"name": "--ref-format=",
"tip": [
"Specify the given ref storage <format> for the repository."
],
"next": [
{
"name": "files",
"tip": [
"files for loose files with packed-refs.\n",
"This is the default."
]
},
{
"name": "reftable",
"tip": [
"reftable for the reftable format.\n",
"This format is experimental and its internals are subject to change."
]
}
]
},
{
"name": "--template=",
"tip": [
"U: --template=<template-directory>\n",
"Specify a custom template directory for repository initialization."
],
"next": 0
},
{
"name": "--separate-git-dir=",
"tip": [
"U: --separate-git-dir=<git-dir>\n",
"Instead of initializing the repository as a directory to either $GIT_DIR or ./.git/, create a text file there containing the path to the actual repository.\n",
"This file acts as a filesystem-agnostic Git symbolic link to the repository.\n",
"If this is a reinitialization, the repository will be moved to the specified path."
],
"next": 0
},
{
"name": "-b",
"alias": [
"--initial-branch="
],
"tip": [
"U: -b <branch-name> | --initial-branch=<branch-name>\n",
"Use <branch-name> for the initial branch in the newly created repository.\n",
"If not specified, fall back to the default name."
],
"next": [
{
"name": "main"
},
{
"name": "master"
}
]
},
{
"name": "--shared"
},
{
"name": "--shared=",
"tip": [
"U: --shared[=(false|true|umask|group|all|world|everybody|<perm>)]\n",
"Specify that the Git repository is to be shared amongst several users.\n",
"This allows users belonging to the same group to push into that repository."
],
"next": [
{
"name": "umask",
"alias": [
"false"
],
"tip": [
"Use permissions reported by umask.\n",
"The default, when --shared is not specified."
]
},
{
"name": "group",
"alias": [
"true"
],
"tip": [
"Make the repository group-writable, (and g+sx, since the git group may not be the primary group of all users).\n",
"This is used to loosen the permissions of an otherwise safe umask value."
]
},
{
"name": "all",
"alias": [
"world",
"everybody"
],
"tip": [
"Same as group, but make the repository readable by all users."
]
}
]
}
]
},
{
"name": "clone",
"tip": [
"Clone a repository into a new directory."
],
"options": [
{
"name": "-l",
"alias": [
"--local"
]
},
{
"name": "--no-hardlinks"
},
{
"name": "-s",
"alias": [
"--shared"
]
},
{
"name": "--reference"
},
{
"name": "--reference-if-able"
},
{
"name": "--dissociate"
},
{
"name": "-q",
"alias": [
"--quiet"
]
},
{
"name": "-v",
"alias": [
"--verbose"
]
},
{
"name": "--progress"
},
{
"name": "--server-option="
},
{
"name": "-n",
"alias": [
"--no-checkout"
]
},
{
"name": "--reject-shallow"
},
{
"name": "--no-reject-shallow"
},
{
"name": "--bare"
},
{
"name": "--sparse",
"tip": [
"Employ a sparse-checkout, with only files in the toplevel directory initially being present."
]
},
{
"name": "--filter="
},
{
"name": "--also-filter-submodules"
},
{
"name": "--mirror"
},
{
"name": "-o",
"alias": [
"--origin"
]
},
{
"name": "-b",
"tip": [
"U: -b <branch>\n",
"Specify the branch to clone.\n",
"By default, git clone clones the main branch of the remote repository."
],
"next": 0
},
{
"name": "-u",
"alias": [
"--upload-pack"
]
},
{
"name": "--template="
},
{
"name": "-c",
"alias": [
"--config"
]
},
{
"name": "--depth",
"tip": [
"U: --depth <n>\n",
"Specify the depth of commit history to clone."
],
"next": [
{
"name": "1",
"tip": [
"Clone only the latest commit without historical commit records."
]
}
]
},
{
"name": "--shallow-since="
},
{
"name": "--shallow-exclude="
},
{
"name": "--single-branch"
},
{
"name": "--no-single-branch"
},
{
"name": "--no-tags"
},
{
"name": "--recurse-submodules"
},
{
"name": "--shallow-submodules"
},
{
"name": "--no-shallow-submodules"
},
{
"name": "--remote-submodules"
},
{
"name": "--no-remote-submodules"
},
{
"name": "--separate-git-dir="
},
{
"name": "--ref-format="
},
{
"name": "-j",
"alias": [
"--jobs"
],
"tip": [
"U: -j <n>\n",
"Specify the number of threads for parallel cloning to speed up the process."
],
"next": 0
},
{
"name": "--bundle-uri="
}
]
},
{
"name": "add",
"tip": [
"Add file changes to the index."
],
"options": [
{
"name": ".",
"tip": [
"Add all changes in the current directory and its subdirectories (including new, modified, and deleted files) to the index."
]
},
{
"name": "-A",
"alias": [
"--all"
],
"tip": [
"U: -A|--all\n",
"Add all changes in the current working tree (including new, modified, and deleted files) to the index."
]
},
{
"name": "-f",
"alias": [
"--force"
],
"tip": [
"U: -f|--force\n",
"Allow adding ignored files."
]
},
{
"name": "-i",
"alias": [
"--interactive"
],
"tip": [
"U: -i|--interactive\n",
"Interactively add modified content from the working tree to the index."
]
},
{
"name": "-p",
"alias": [
"--patch"
],
"tip": [
"U: -p|--patch\n",
"Interactively choose chunks of content between the index and the working tree to add to the index.\n",
"Similar to git add -i but skips the initial command menu and goes directly to the patch subcommand."
]
},
{
"name": "-e",
"alias": [
"--edit"
],
"tip": [
"U: -e|--edit\n",
"Open the diff and the index in an editor for further editing."
]
},
{
"name": "-u",
"alias": [
"--update"
],
"tip": [
"U: -u|--update\n",
"It will stage modifications and deletions of tracked files (files already in the Git repository) to the staging area, but it does not stage new files."
]
},
{
"name": "--refresh",
"tip": [
"Don't add the file(s), but only refresh their stat() information in the index."
]
},
{
"name": "--ignore-errors",
"tip": [
"If some files could not be added because of errors indexing them, do not abort the operation, but continue adding the others.\n",
"The command shall still exit with non-zero status.\n",
"The configuration variable add.ignoreErrors can be set to true to make this the default behaviour."
]
}
]
},
{
"name": "commit",
"tip": [
"Record changes to the repository."
],
"options": [
{
"name": "-m",
"tip": [
"U: -m <message>\n",
"Specify a descriptive message for the commit."
],
"next": 0
},
{
"name": "-a",
"alias": [
"--all"
],
"tip": [
"U: -a|--all\n",
"Automatically stage changes to tracked files in the index."
]
},
{
"name": "-e",
"alias": [
"--edit"
],
"tip": [
"U: -e|--edit\n",
"Launch an editor to edit the commit message."
]
},
{
"name": "--amend",
"tip": [
"Modify the message of the last commit(Create a new commit, replacing the last one)"
]
},
{
"name": "—allow-empty",
"tip": [
"Usually recording a commit that has the exact same tree as its sole parent commit is a mistake, and the command prevents you from making such a commit.\n",
"This option bypasses the safety, and is primarily for use by foreign SCM interface scripts."
]
},
{
"name": "--fixup",
"tip": [
"Create a new commit which \"fixes up\" <commit> when applied with `git rebase --autosquash.`"
],
"next": []
},
{
"name": "--squash",
"tip": [
"Construct a commit message for use with `rebase --autosquash`."
],
"next": []
},
{
"name": "-p",
"alias": [
"--patch"
],
"tip": [
"U: -p|--patch\n",
"Interactively choose which changes to commit."
]
},
{
"name": "-t",
"tip": [
"U: -t <file>\n",
"Get the commit message from the given file and launch an editor for editing."
],
"next": 0
},
{
"name": "-F",
"tip": [
"U: -F <file>\n",
"Get the commit message from the given file."
],
"next": 0
},
{
"name": "-C",
"tip": [
"U: -C <commit>\n",
"Take an existing commit object and reuse the log message and author information when creating a commit (including timestamps)"
],
"next": []
},
{
"name": "--reset-author",
"tip": [
"When used with -C/-c/--amend options, or when committing after a conflicting cherry-pick, declare that the authorship of the resulting commit now belongs to the committer.\n",
"This also renews the author timestamp."
]
},
{
"name": "--short",
"tip": [
"When doing a dry-run, give the output in the short-format.\n",
"See https://git-scm.com/docs/git-status for details.\n",
"Implies `--dry-run`."
]
},
{
"name": "--branch",
"tip": [
"Show the branch and tracking info even in short-format."
]
},
{
"name": "--porcelain",
"tip": [
"When doing a dry-run, give the output in a porcelain-ready format.\n",
"See https://git-scm.com/docs/git-status for details.\n",
"Implies `--dry-run`."
]
},
{
"name": "--long",
"tip": [
"When doing a dry-run, give the output in the long-format.\n",
"Implies `--dry-run`."
]
},
{
"name": "-s",
"alias": [
"--signoff"
]
},
{
"name": "--no-signoff"
}
]
},
{
"name": "push",
"tip": [
"Update remote references and associated objects."
],
"options": [
{
"name": "--all",
"tip": [
"push all branches"
]
}
]
},
{
"name": "pull",
"tip": [
"Fetch and merge from another repository or local branch."
],
"options": [
{
"name": "--all",
"tip": [
"fetch from all remotes"
]
},
{
"name": "-r",
"alias": [
"--rebase"
]
}
]
},
{
"name": "fetch",
"tip": [
"Download objects and references from another repository."
],
"options": [
{
"name": "--all",
"tip": [
"fetch from all remotes"
]
}
]
},
{
"name": "status",
"tip": [
"Show the status of the working tree."
],
"options": [
{
"name": "-s",
"alias": [
"--short"
],
"tip": [
"U: -s|--short\n",
"Show the output in a short format."
]
},
{
"name": "-b",
"alias": [
"--branch"
],
"tip": [
"U: -b|--branch\n",
"Show branch and tracking information, even in short format."
]
},
{
"name": "--show-stash",
"tip": [
"Show the number of hidden entries in the stash."
]
},
{
"name": "-v",
"alias": [
"--verbose"
],
"tip": [
"U: -v|--verbose\n",
"Show additional text changes to be committed."
]
},
{
"name": "-vv",
"tip": [
"Show uncommitted changes in the working tree."
]
}
]
},
{
"name": "log",
"tip": [
"Show commit logs."
],
"options": [
{
"name": "-n",
"tip": [
"U: -n <n>\n",
"Show the last n commit messages."
],
"next": 0
},
{
"name": "--graph",
"tip": [
"Display branch and merge history in ASCII art alongside the log."
]
},
{
"name": "--oneline",
"tip": [
"Display each commit message on one line."
]
},
{
"name": "--stat",
"tip": [
"Show statistics about file modifications in each commit.\n",
"Each commit lists the modified files, added and removed lines, and a summary of all line changes at the end."
]
},
{
"name": "--shortstat",
"tip": [
"Show only the summary line for --stat"
]
},
{
"name": "-p",
"tip": [
"Show each update's differences in patch format, more detailed than --stat"
]
},
{
"name": "--name-only",
"tip": [
"Show a list of modified files after the commit messages."
]
},
{
"name": "--name-status",
"tip": [
"Show a list of added, modified, and deleted files."
]
},
{
"name": "--abbrev-commit",
"tip": [
"Show only the first few characters of the SHA-1 checksum instead of the full 40 characters."
]
},
{
"name": "--relative-date",
"tip": [
"Display dates in a shorter relative format instead of the full format (e.g. 2 weeks ago)"
]
},
{
"name": "--pretty",
"tip": [
"Display commit history in a custom format."
]
},
{
"name": "--pretty=oneline",
"tip": [
"Display each commit message on one line, showing only the hash and commit message."
]
},
{
"name": "--pretty=short",
"tip": [
"Display hash, Author, and commit info."
]
},
{
"name": "--pretty=full",
"tip": [
"Display hash, Author, Commit, and commit info."
]
},
{
"name": "--pretty=fuller",
"tip": [
"Display hash, Author, AuthorDate, Commit, CommitDate, and commit info."
]
},
{
"name": "--pretty=format:\"\"",
"tip": [
"Control the format of displayed information."
]
}
]
},
{
"name": "rebase",
"tip": [
"Move local commits to the tip of an updated upstream branch.\n",
"Used to modify commit history, often to integrate commits from one branch into another."
],
"options": [
{
"name": "-i",
"alias": [
"--interactive"
],
"tip": [
"U: -i|--interactive\n",
"Allows interactive rebase, enabling editing, merging, deleting, and more for each commit."
],
"next": []
},
{
"name": "--onto",
"tip": [
"U: --onto <new_base_branch>\n",
"Specify a new base branch to apply commits from the current branch onto."
],
"next": 0
},
{
"name": "--abort",
"tip": [
"Cancel the ongoing rebase operation and return to the state before the rebase started."
]
},
{
"name": "--continue",
"tip": [
"Continue the rebase operation, typically used after resolving conflicts."
]
},
{
"name": "--skip",
"tip": [
"Skip the current commit and continue the rebase operation."
]
},
{
"name": "--merge",
"tip": [
"Merge a branch into the target branch instead of applying commits sequentially."
]
},
{
"name": "-x",
"tip": [
"U: -x <cmd>\n",
"Execute a specified command after each commit is applied, useful for automation such as testing and linting."
],
"next": 0
},
{
"name": "-p",
"tip": [
"Preserve the structure of merge commits to maintain merge history."
]
}
]
},
{
"name": "branch",
"tip": [
"List, create, or delete branches."
],
"options": [
{
"name": "-a",
"tip": [
"List all branches, including local and remote branches."
]
},
{
"name": "-d",
"tip": [
"U: -d <branch>\n",
"Delete the specified branch."
],
"next": []
},
{
"name": "-D",
"tip": [
"U: -D <branch>\n",
"Force delete the specified branch."
],
"next": []
},
{
"name": "-m",
"tip": [
"U: -m <old_branch> <new_branch>\n",
"Rename the specified branch."
],
"next": []
},
{
"name": "-M",
"tip": [
"U: -M <old_branch> <new_branch>\n",
"Force rename the specified branch."
],
"next": []
},
{
"name": "-v",
"tip": [
"View local branches with their last commit information."
]
},
{
"name": "-vv",
"tip": [
"View local branches with their last commit information and their relationship to branches and remote branches."
]
}
]
},
{
"name": "checkout",
"tip": [
"Switch branches or paths in the working tree.\n",
"E: checkout <branch> --- Switch branches\n",
" checkout <commit_hash> --- Switch to a specific commit\n",
" checkout -b <new_branch> --- Create and switch to a new branch"
],
"options": [
{
"name": "-",
"tip": [
"Switch to the previous branch."
]
},
{
"name": "-b",
"tip": [
"U: -b <new_branch>\n",
"Create and switch to a new branch"
]
},
{
"name": "-B",
"tip": [
"U: -B <new_branch>\n",
"Forcefully create (overwrite if the branch exists) and switch to a branch"
]
},
{
"name": "--orphan",
"tip": [
"U: --orphan <new_branch>\n",
"Create a new orphan branch"
]
},
{
"name": ".",
"tip": [
"Discard all changes in the working directory; the index is preserved."
]
},
{
"name": "-f",
"tip": [
"Forcefully discard changes in both the index and the working directory."
]
}
]
},
{
"name": "switch",
"tip": [
"Switch branches."
],
"options": [
{
"name": "-c",
"alias": [
"--create"
],
"tip": [
"U: -c|--create <new_branch>\n",
"Create a new branch and switch to it."
]
},
{
"name": "-",
"tip": [
"Switch to the previously switched branch."
]
}
]
},
{
"name": "merge",
"tip": [
"Merge two or more development histories."
],
"options": [
{
"name": "--squash",
"tip": [
"Compresses the merge result into a single commit and does not preserve the commit history of the source branch.\n",
"Then you need to specify a new commit message."
]
},
{
"name": "--continue",
"tip": [
"Continue the current merge operation."
]
},
{
"name": "--abort",
"tip": [
"Abort the merge and return to the original state."
]
},
{
"name": "--quit",
"tip": [
"Keep the current conflicts and exit the merge."
]
}
]
},
{
"name": "diff",
"tip": [
"Display changes between commits, changes between commits and the working tree, and more.\n",
"E: diff <file> --- Show differences between the specified file in the working directory and the index.\n",
" diff <commit1> <commit2> --- Compare differences between two commits.\n",
" diff <branch1> <branch2> --- Compare differences between two branches."
],
"options": [
{
"name": "--staged",
"tip": [