/
gitconfig
3988 lines (3879 loc) · 334 KB
/
gitconfig
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
[alias]
; Alternative: Do this programmatically:
; git config --global alias.foo 'commit -m "foobar"'
; Note: You cannot override a built-in Git command via an alias. Cp.
; http://stackoverflow.com/questions/3538774/is-it-possible-to-override-git-command-by-git-alias
;
;alias = config --get-regexp 'alias\\..*' ; List all defined aliases.
;; alias: List all Git aliases [starting with <pattern>].
;; aliases: List all (documented) Git aliases, command extensions, and newly defined commands [starting with <pattern>].
; Note: If you name the shell command "git-aliasname", there's no need
; to define an alias here; Git will automatically pick it up; in fact,
; git-aliasname takes precedence over the alias!
;
;alias = !git-alias
; The following two definitions are equivalent (the second is preferred):
; echoalias1 = !git-echo fixed-argument
; echoalias2 = echo fixed-argument
;
; Note: You also cannot use a shell command "git-builtin" to override
; the "git builtin" command! To achieve that, you need a custom "git"
; shell function that intercepts the git call.
; To do something with individual arguments, use something like this:
;x = "!sh -c 'echo args: \"$@\"' -"
; But I prefer defining an external git-subcommand for this.
; Handle the common typo "git git COMMAND" through my wrapper. Note: Does not handle "git git-COMMAND".
git = wrapper
;; confighelp: Browse the user's gitconfig (for hints and suggestions).
configlist = config --local --list
configedit = config --local --edit
me = config --get user.name
me-in-github = config --get github.user
; Stop recording the executable file mode.
; This can be necessary when using both MSysGit and Cygwin's Git, and
; "git diff" shows this output for every file:
; old mode 100755
; new mode 100644
; Best set this locally only via
; git config core.filemode false
;filemode = false
config-no-filemode = config core.filemode false
;; iscontrolled: Test whether the current directory / passed DIRSPEC is inside a Git working copy / the passed FILESPEC is tracked by Git (i.e. not unversioned).
;; isnonemptyrepo: Test whether the current directory / passed DIRSPEC is a repository that has at least one commit in it. Fails if not a working copy or a just-initialized empty repo without any commits.
;; init: Create an empty Git repository and automatically chdir into it.
;; clone: Clone a repository into a new directory and automatically chdir into it.
;; uclone: Clone a repository and name the remote repository "upstream" (commonly used for repos you don't own yourself) instead of the default "origin".
;; system-setup: Setup system-specific Git configuration for a system.
;; isworktree: Test whether the current working copy is a secondary worktree.
;; isdetached: Test whether the current working copy directly refers to a particular commit as opposed to a named branch.
;; cat: Retrieve the contents of <path> as it exists in revision <ref>.
;; cp: Retrieve the contents of <path> as it exists in revision <ref> and save it as <path>.<ref> (or <target> if given).
chp = cherry-pick --no-commit ; Apply the changes introduced by some existing commits (cummulatively) to the index and working copy.
cherrypick = cherry-pick --no-commit ; Apply the changes introduced by some existing commits (cummulatively) to the index and working copy.
chpc = cherry-pick --continue ; Commit (after adding resolved conflicts) and continue with any subsequent commits to be cherry-picked.
chps = cherry-pick --quit ; Forget about the current (conflicted) operation in progress.
chpq = cherry-pick --abort ; Cancel the operation and return to the pre-sequence state.
cherrycommit = cherry-pick ; Apply and immediately commit each change (individually) introduced by some existing commit(s).
;; cherrymerge: Apply and immediately commit each change (individually), recording the existing commit id(s) in the commit message, like the merge tracking in Subversion.
;; unapply-index: Revert the changes in the index to the working copy.
;; checkout-committed: Revert changes [for FILE(s)] in the working copy to the latest commit, but keep any changes in the index. These can be put back into the working copy via checkout.
coc = checkout-committed
;; checkoutprevious: Revert changes [for FILE(s)] in the working copy to the commit prior to passed <commit> / HEAD. Like "git checkout <commit>^ [-- FILE ...]" but doesn't write to the index / cause the "detached HEAD" status when no FILEs are passed. This is meant to be for temporary investigation or verifying a test failure without the committed fix, so no dirty working copy is allowed.
cop = checkoutprevious
;; checkoutpreviousselected: Interactively select (from files touched in <commit> / HEAD) files (or directly pass N, M, ... selections) to be reverted to what the content *before* <commit> was.
cops = checkoutpreviousselected
;;revert: Apply the reverted changes only to the index and working copy; the index does not have to match the HEAD commit, so you can revert multiple commits in a row.
revertcommit = revert ; Apply the reverted changes and commit.
revertselected = selectedcommit-command revert ; Apply the reverted changes interactively chosen from the commits in the passed <range> only to the index and working copy commit.
revertcommitselected = selectedcommit-command revertcommit ; Apply the reverted changes interactively chosen from the commits in the passed <range> and commit.
;; add: Add and show status; --all/-A stages all, . stages new and modified, without deleted, -u stages modified and deleted, without new.
;; addn: Add all modified and deleted files except those matching FILE(s) or the escaped GLOB(s). Like addu, but with inverted meaning of the file arguments.
;; addu: Stage modified and deleted, without new files, and show status.
addhunk = add --patch ; Interactively cherry-pick and add individual hunks changed in the working copy to the index.
addh = addhunk
addedit = add --edit ; Interactively choose lines to stage by directly editing the diff.
;; adddeleted: Add manually deleted (or moved) files to the index.
;; addi: Add unstaged changes from already staged files; update stage.
;; addr: Add from root (i.e. all in working copy, not just everything inside CWD); defaults to modified and deleted, without new.
;; adduntracked: Add only new files, respecting the ignore patterns.
addun = adduntracked
;; adduu: Stage modified and deleted, and add new files, respecting the ignore patterns. Combination of git addu && git adduntracked.
;; addselected: Interactively select (from modified files or passed list of files) files (or directly pass N, M, ... selections) to stage by number.
adds = addselected
addselectedhunk = addselected --patch
addsh = addselectedhunk
addselectededit = addselected --edit
addse = addselectededit
;; addselecteduntracked: Interactively select (from new files, respecting the ignore patterns, or passed list of files) files (or directly pass N, M, ... selections) to stage by number.
addsun = addselecteduntracked
;; commituntracked: Commit only new files, respecting the ignore patterns.
cun = commituntracked
commitselected = selected-command commit ; Interactively select (from modified files or passed list of files) files (or directly pass N, M, ... selections) to commit by number.
cs = commitselected
c = wrapper commit
ca = commita
;; commita: Commit all new files.
cu = wrapper commit --all ; Commit all modified and deleted files, without new.
commitu = wrapper commit --all ; Commit all modified and deleted files, without new.
;; cuu: Commit modified and deleted, and add new files, respecting the ignore patterns. Combination of git adduu && git commit.
;; correct: Commit as a correction of <commit> (when it's too late or cumbersome to fixup the existing commit). This just adds a reference to the prior commit in the commit message (title and body).
;; fixup: Commit with the intent of squashing this with the passed <commit> (id or :/<pattern>) via interactive rebase later.
correctselected = selectedcommit-command --single-only correct ; Commit as a correction of the commit interactively chosen from the commits in the passed <range> (when it's too late or cumbersome to fixup the existing commit).
correctselected7 = correctselected --max-count 7
correctst = stfiles-command selectedcommit-command --single-only correct ; Commit as a correction of the commit interactively chosen from the commits of currently modified files in the passed <range> (when it's too late or cumbersome to fixup the existing commit).
correctst7 = correctst --max-count 7
correcti = stifiles-command selectedcommit-command --single-only correct ; Commit as a correction of the commit interactively chosen from the commits of currently staged files in the passed <range> (when it's too late or cumbersome to fixup the existing commit).
correcti7 = correcti --max-count 7
correct-i = stIfiles-command selectedcommit-command --single-only correct ; Commit as a correction of the commit interactively chosen from the commits of currently modified but not staged files in the passed <range> (when it's too late or cumbersome to fixup the existing commit).
correct-i7 = correct-i --max-count 7
fixupselected = selectedcommit-command --single-only fixup ; Commit with the intent of squashing this with the commit interactively chosen from the commits in the passed <range> via interactive rebase later.
fixupselected7 = fixupselected --max-count 7
fixupst = stfiles-command selectedcommit-command --single-only fixup ; Commit with the intent of squashing this with the commit interactively chosen from the commits of currently modified files in the passed <range> via interactive rebase later.
fixupst7 = fixupst --max-count 7
fixupi = stifiles-command selectedcommit-command --single-only fixup ; Commit with the intent of squashing this with the commit interactively chosen from the commits of currently staged files in the passed <range> via interactive rebase later.
fixupi7 = fixupi --max-count 7
fixup-i = stIfiles-command selectedcommit-command --single-only fixup ; Commit with the intent of squashing this with the commit interactively chosen from the commits of currently modified but not staged files in the passed <range> via interactive rebase later.
fixup-i7 = fixup-i --max-count 7
;; rbfixup: Commit and squash with the passed <commit> (id or :/<pattern>) via interactive rebase.
rbfixupselected = selectedcommit-command --single-only rbfixup ; Commit and squash with the commit interactively chosen from the commits in the passed <range> via interactive rebase.
rbfixupselected7 = rbfixupselected --max-count 7
amen = commit --amend --reuse-message=HEAD ; Amend to last commit without re-editing the message.
amenu = commit --all --amend --reuse-message=HEAD ; Amend all modified and deleted files to last commit without re-editing the message.
amend = commit --amend --reedit-message=HEAD ; Amend to last commit.
amendu = commit --all --amend --reedit-message=HEAD ; Amend all modified and deleted files to last commit.
amendonly = commit --amend --only ; Amend to last commit, ignoring any already staged changes.
amenasme = mine-command amen ; Amend to last commit without re-editing the message and set the author to myself.
amendasme = mine-command amend ; Amend to last commit and set the author to myself.
;; commitfor: Commit for another author whose "NAME <EMAIL@HOST>" combo is either passed or selected from all previous committers (via passed AUTHOR-PATTERN).
;; commitwithfiledate: Commit with the author date set to the most recent file modification date of files in the stage. Useful if you only now noticed that changes should have been committed a long time ago.
;; commitidentical: Commit directly (without further edits) with the same commit message as <commit>.
commitidenticalst = stfiles-command selectedcommit-command --single-only commitidentical ; Commit directly (without further edits) with the same commit message as the commit interactively chosen from the commits of currently modified files in the passed <range>.
commitidenticalst7 = commitidenticalst --max-count 7
commitidenticali = stifiles-command selectedcommit-command --single-only commitidentical ; Commit directly (without further edits) with the same commit message as the commit interactively chosen from the commits of currently staged files in the passed <range>.
commitidenticali7 = commitidenticali --max-count 7
commitidentical-i = stIfiles-command selectedcommit-command --single-only commitidentical ; Commit directly (without further edits) with the same commit message as the commit interactively chosen from the commits of currently modified but not staged files in the passed <range>.
commitidentical-i7 = commitidentical-i --max-count 7
commitidenticalselected = selectedcommit-command --single-only commitidentical ; Commit directly (without further edits) with the same commit message as the commit interactively chosen from the commits in the passed <range>.
commitidenticalselected7 = commitidenticalselected --max-count 7
cis = commitidenticalselected7
commitlike = commitidentical --edit ; Commit with the same commit message as <commit> as the base for further editing.
commitlikest = stfiles-command selectedcommit-command --single-only commitlike ; Commit with the same commit message as the commit interactively chosen from the commits of currently modified files in the passed <range> as the base for further editing.
commitlikest7 = commitlikest --max-count 7
commitlikei = stifiles-command selectedcommit-command --single-only commitlike ; Commit with the same commit message as the commit interactively chosen from the commits of currently staged files in the passed <range> as the base for further editing.
commitlikei7 = commitlikei --max-count 7
commitlike-i = stIfiles-command selectedcommit-command --single-only commitlike ; Commit with the same commit message as the commit interactively chosen from the commits of currently modified but not staged files in the passed <range> as the base for further editing.
commitlike-i7 = commitlike-i --max-count 7
commitlikeselected = selectedcommit-command --single-only commitlike ; Commit with the same commit message as the commit interactively chosen from the commits in the passed <range> as the base for further editing.
commitlikeselected7 = commitlikeselected --max-count 7
cls = commitlikeselected7
;; credit: Amend another author whose "NAME <EMAIL@HOST>" combo is either passed or selected from all previous committers (via passed AUTHOR-PATTERN).
;; show-branch: Shows the branch anchestry (heads are prefixed with !, current with *), then after a --- separator commits (+) and merges (-).
;; br: branch with DWIM detection of branch listing via pattern (from the help: git branch <pattern> would try to create a branch, use git branch --list <pattern> to list matching branches).
;; brname: Print current (local) branch name.
;; bra: List (local; -r remote-tracking; -a both) branches (optionally filtered by <glob>) ordered by date of most recent commit.
;; brc: List (local; -r remote-tracking; -a both) branches (optionally filtered by <glob>) ordered by date of first commit.
;; createlocalbr: Create (and track) local branches for all remote branches (matching PATTERN).
;; localbrdo: Check out all / the last committed N local branches (except for the current branch and master (and base branch if defined)) one by one and execute COMMAND (or drop back to the shell) for each).
;; localbrcdo: Check out all / the last N local branches (except for the current branch and master (and base branch if defined)) ordered by date of first commit and execute COMMAND (or drop back to the shell) for each).
;; localbrrefdo: Iterate over all / the last committed N local branches (except for the current branch and master (and base branch if defined)) one by one and execute COMMAND for each branch, replacing {} with its name.
;; localbrcrefdo: Iterate over all / the last committed N local branches (except for the current branch and master (and base branch if defined)) ordered by date of first commit one by one and execute COMMAND for each branch, replacing {} with its name.
;; prune: Remove old local branches that do not exist in <remote> any more.
;; existsbr: Check whether [all of] the passed [<remote>/]<branch> exists.
;; remotebr: Print corresponding remote/branch for the current branch (or return error).
deletebr = branch -d ; Delete branch; use oldeletebr to remove the branch in origin, too (and odeletebr to just delete it in origin).
deletelb = branch -d @{-1} ; Delete the last checked-out branch.
renamebr = branch -m ; Rename branch.
;; archivebr: Tag <branch>, then delete it from the local repository as well as origin. Use to remove old branches that have been incorporated into master, or pass -f to force archiving.
;; archivelocalbr: Archive all / the first committed N local branches (except for the current branch and master (and base branch if defined)).
;; archivelocalbrc: Archive all / the first committed N local branches (except for the current branch and master) ordered by date of first commit.
;; archived: List all / <branch> archived branches.
;; archivedurl: List URLs to passed <remote> of all / <branch> archived branches.
archivedourl = archivedurl origin
archiveduurl = archivedurl upstream
; How to create an unrelated branch that doesn't hold the previous commit history (e.g. as for the gh-pages)
; 1. git checkout --orphan gh-pages
; 2. git rm -rf .
co = checkout
checkoutselected = selected-command --filter '' checkout ; Interactively select (from modified files or passed list of files) files (or directly pass N, M, ... selections) to checkout by number.
cos = checkoutselected
;; cobr: Checkout passed <remote-branch>, tracking it if it doesn't yet exist locally, or ensuring that an existing tracked branch doesn't contradict the request.
;; rco: Checkout passed <branch> in <remote>; fetching if needed and ensuring that an existing tracked branch doesn't contradict the request.
;; rcolatest: Checkout local branch from latest (by sort order) passed <remote> [matching pattern].
;; rcolatestc: Checkout local branch from the passed <remote> branch [matching pattern] that was created last (except the current branch and master (and base branch if defined)).
colb = checkout @{-1} ; Checkout last checked-out branch.
com = master-command checkout
;; nco: Checkout <branch> and make it the base branch (for git *n commands).
;; nbr: Show the base branch name.
;; nclear: Clear the defined base branch.
con = base-command checkout
coh = checkout --patch -- ; Interactively cherry-pick and check out individual hunks from the index to the working copy.
detach = checkout --detach ; Unassociate from the current branch without changing the current commit. Useful e.g. for separate worktrees, because they all must be on distinct branches.
bl = shortblame
;; file-blame: Show author name and last date for each file.
;; dirty: Test whether there are uncommitted changes, either in the working copy or the index.
;; unstaged: Test whether there are / list uncommitted changes to committed files in the working copy (ignoring changes in the index and untracked files).
;; untracked: Test whether there are new files not yet added to version control (and not covered by the ignore patterns).
ss = status -s ; Short status without branch and tracking info. Does not output anything if the working copy is clean and there are no untracked files.
st = status -sb ; Concise status with branch and tracking info.
;; stfiles: Just list any modified files (for renames both original and resulting file as separate lines).
;; stifiles: Just list any staged files.
;; stIfiles: Just list any modified but not staged files.
;; sti: Concise status only for staged files inside the index.
;; rbrowse: Open origin / the passed pattern matching a remote in a browser. Like "hub browse", but can open different remotes.
;; stash: Save a dirty working copy and index in a commit.
;; stashi: Save only index in a commit; keep the dirty working copy.
stash-i = stash save --keep-index ; Save only dirty working copy; keep changes in index. Useful to compile / test partial commits by temporarily cleaning the working copy.
stashuu = stash save --include-untracked ; Save both modified and new (untracked files).
;; selectedstash: Interactively select from existing stashes (or directly pass N, M, ... selections) to manipulate by number.
sstash = selectedstash
;; stashselected: Interactively select (from modified files or passed list of files) files (or directly pass N, M, ... selections) to stash by number.
stashs = stashselected
stashhunk = stash save --patch ; Interactively cherry-pick and stash away individual hunks changed in the working copy. Keeps changes in index unless --no-keep-index is given.
;; stash list: Show all stashed commits.
;; stash apply: Apply the topmost stashed commit onto the working copy.
;; stash pop: Apply and the topmost stashed commit onto the working copy and remove it from the stash.
;; stash drop: Remove a single stash.
;; stash clear: Throw away all stashes.
; Source: http://stackoverflow.com/questions/1360712/git-stash-cannot-apply-to-a-dirty-working-tree-please-stage-your-changes
;; stash-pop-to-dirty: Force application of stash to dirty working copy when "stash pop" complains.
;; stash-to-branch: Stash the changes in a dirty working directory in a new branch.
;; autostash: Automatically create a temporary stash before executing COMMAND, and apply it after the operation ends. This means that you can run Git commands that otherwise would complain on a dirty worktree.
;; swaplast: Swap the last and one-before-last commits.
;; sync: Synchronize the local repository with the major remotes.
n = notes show ; List annotations for HEAD / passed ref.
ne = notes edit ; Edit / add annotations for existing commits. They don't change the history, and are local to a repo.
; Source: http://git-scm.com/blog/2010/08/25/notes.html
onotepush = push origin refs/notes/* ; notes are implemented as references, and must be pushed to share them.
unotepush = push upstream refs/notes/* ; notes are implemented as references, and must be pushed to share them.
onotefetch = fetch origin refs/notes/*:refs/notes/* ; get notes from origin
unotefetch = fetch upstream refs/notes/*:refs/notes/* ; get notes from upstream
; To make the fetch automatic, add the following to .git/config:
; [remote "origin"]
; fetch = +refs/notes/*:refs/notes/*
; tags how-to:
; 1. Add a new tag for the newest stable release: git tag -a v0.5 -m "Version 0.5 Stable"
; 2. Push the latest tag to GitHub: git push --tags
; Optional:
; 3. Delete the v0.4 tag locally: git tag -d v0.4
; 4. Delete the v0.4 tag on GitHub (which removes its download link): git push origin :v0.4
;; tag-version: Create an annotated tag, mostly used for official releases.
;; cd: Change into the root directory of this Git working copy.
root = rev-parse --show-toplevel ; Show root dir of this Git working copy.
relative = rev-parse --show-prefix ; Show relative dir of the CWD in relation to the Git working copy root.
; Note: Cannot define this as an external script; the property of being executed in the root dir would be lost.
;; exec: Execute a shell command in the root dir of this Git working copy; e.g. git exec make.
; This works because shell aliases are always executed in the top-level directory.
;; inside: Execute COMMAND (which probably contains Git command(s)) inside the working copy that FILE resides in. (Most Git commands only work from within the working copy.)
;; wcdo: Execute "git SIMPLECOMMAND" and/or COMMANDLINE on each passed WORKING-COPY.
;; wc-with-suffix-do: Like wcdo, but also work on clones or worktrees that sit next to the working copy.
;; wcs-in-dir-do: Execute "git SIMPLECOMMAND" and/or COMMANDLINE on all repositories found in passed DIRSPECs.
;; wcdo-command: Build a command that executes "git SIMPLECOMMAND" and/or COMMANDLINE on all repositories found in passed wrapper + what + baseDirs.
;; sh: Enter a bunch of git commands interactively.
;; shell: Launch an interactive shell. That alone wouldn't be very interesting, but it's valuable in combination with git-wcdo and the selective invocation based on the provided options.
serve = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git ; Fire up a git daemon for the repo you are currently in.
;; worktree: Use parallel checkouts of <repository> in <path> (without having to push or pull!)
; Source: /usr/share/doc/git-core/contrib/workdir/git-new-workdir
export = archive
;; export: git export -o latest.zip HEAD
;; export: git export --format=tar --prefix=project-1.4.0/ v1.4.0 | gzip > project-1.4.0.tar.gz
;; optimize: Reduce occupied disk space of the GIT_DIR by pruning and then garbage-collecting refs.
;; whois: Look up person by name or email address.
;; whodid: Show log grouped by name and sorted by the number of their commits.
;; whodid -s: Show author names sorted by the number of their commits.
whodidovertime = pasttimes-command whodid
whodidoverweeks = pasttimes-command --weekly whodid
whodidovermonths = pasttimes-command --monthly whodid
whodidoveryears = pasttimes-command --yearly whodid
;; whoowns: Show statistics on how many lines were last committed by which author.
;; whocontributed: Show author names sorted by the total size of the diffs they're responsible for.
whocontributedovertime = pasttimes-command whocontributed
whocontributedoverweeks = pasttimes-command --weekly whocontributed
whocontributedovermonths = pasttimes-command --monthly whocontributed
whocontributedoveryears = pasttimes-command --yearly whocontributed
;; churn: Show sorted number of changes per file; arguments as to git log, e.g. --since="1 month ago" subdir
;; activity: Prints a summary of contributions in the repository.
activitymine = mine-command activity
activityteam = team-command activity
;; logdistribution: Print the distribution of the number of commits that fall into the logged range.
logdistributionmine = mine-command logdistribution
logdistributionteam = team-command logdistribution
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short ; Print info about hash or commit name.
;; customtool: Permanently set / execute remaining arguments with temporary diff.tool / merge.tool set to <toolname>.
d = diff ; ... unstaged changes in working copy.
dt = difftool
;; diffc: context diff; can also be used as a difftool
diffy = diffY --suppress-common-lines ; side-by-side diff; can also be used as a difftool
;; diffY: side-by-side diff of the complete files; can also be used as a difftool
diffwithdiffc = customtool diff.tool diffc
diffwithdiffy = customtool diff.tool diffy
diffwithdiff-y = customtool diff.tool diffY
;; dl: Show separate diff of each file (instead of concatenating all changes), paged through with less.
db = diff -w ; ignore all "blanks" whitespace changes
dbl = dl -w
dw = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --color-words ; use word-based (not line-based) diff granularity
dc = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --color-words --word-diff-regex=. ; use character-based diff granularity
da = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --color-words --word-diff-regex=(^|[^[:alnum:]_])[[:alnum:]_]+([^[:alnum:]_]|$)|[^[:space:]] ; use alnum-based diff granularity
dy = diffy
d-y = diffY
dh = diff HEAD ; ... both staged or unstaged changes since last commit.
dhl = dl HEAD
dth = difftool HEAD
dhw = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --color-words HEAD ; use word-based (not line-based) diff granularity
dhc = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --color-words --word-diff-regex=. HEAD ; use character-based diff granularity
dha = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --color-words --word-diff-regex=(^|[^[:alnum:]_])[[:alnum:]_]+([^[:alnum:]_]|$)|[^[:space:]] HEAD ; use alnum-based diff granularity
dhy = diffy HEAD
dh-y = diffY HEAD
dhh = diff HEAD^ ; ... both staged or unstaged changes since second-to-last commit (to check how the commit looks like after adding and amending).
dhhl = dl HEAD^
dthh = difftool HEAD^
dhhw = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --color-words HEAD^ ; use word-based (not line-based) diff granularity
dhhc = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --color-words --word-diff-regex=. HEAD^ ; use character-based diff granularity
dhha = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --color-words --word-diff-regex=(^|[^[:alnum:]_])[[:alnum:]_]+([^[:alnum:]_]|$)|[^[:space:]] HEAD^ ; use alnum-based diff granularity
dhhy = diffy HEAD^
dhh-y = diffY HEAD^
dih = diff --cached HEAD^ ; ... only staged changes since second-to-last commit (to check how the commit looks like after amending).
dihl = dl --cached HEAD^
dtih = difftool --cached HEAD^
dihw = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --color-words --cached HEAD^ ; use word-based (not line-based) diff granularity
dihc = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --color-words --word-diff-regex=. --cached HEAD^ ; use character-based diff granularity
diha = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --color-words --word-diff-regex=(^|[^[:alnum:]_])[[:alnum:]_]+([^[:alnum:]_]|$)|[^[:space:]] --cached HEAD^ ; use alnum-based diff granularity
dihy = diffy --cached HEAD^
dih-y = diffY --cached HEAD^
di = diff --cached ; ... staged changes in the index about to be committed.
dil = dl --cached
dti = difftool --cached
diw = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --cached --color-words ; staged changes, use word-based (not line-based) diff granularity
dic = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --cached --color-words --word-diff-regex=. ; staged changes, use character-based diff granularity
dia = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse diff --cached --color-words --word-diff-regex=(^|[^[:alnum:]_])[[:alnum:]_]+([^[:alnum:]_]|$)|[^[:space:]] ; use alnum-based diff granularity
diy = diffy --cached
di-y = diffY --cached
;; dp: ... with predecessor, either current HEAD or passed revision.
dpw = dp -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse --color-words ; use word-based (not line-based) diff granularity
dpc = dp -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse --color-words --word-diff-regex=. ; use character-based diff granularity
dpa = dp -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse --color-words --word-diff-regex=(^|[^[:alnum:]_])[[:alnum:]_]+([^[:alnum:]_]|$)|[^[:space:]] ; use alnum-based diff granularity
;; dpl: ... with predecessor, either current HEAD or passed revision.
;; dpy: ... with predecessor, either current HEAD or passed revision.
;; dpY: ... with predecessor, either current HEAD or passed revision.
;; diffcomparep: Compare the diff of unstaged changes in working copy side-by-side with the diff with the predecessor, either current HEAD or passed revision.
dyp = diffcomparep
diffcomparepi = diffcomparep --cached ; Compare the diff of unstaged changes in working copy side-by-side with the diff with the predecessor, either current HEAD or passed revision.
dypi = diffcomparepi
;
;; diffuntil: ... over all commits until passed revision.
;; diffselected: Interactively select (from modified files or passed list of files) files (or directly pass N, M, ... selections) to diff by number.
ds = diffselected
;; dsw: diffselected with word-based (not line-based) diff granularity
;; dsc: diffselected with character-based (not line-based) diff granularity
;; dsa: diffselected with alnum-based diff granularity
;; dsy: diffselected side-by-side
;; dsY: diffselected side-by-side
dis = diffselected --cached
dts = difftoolselected
difflastmsg = bylogmessagerange-command --with-log-args diff --auto-revision ; Diff of the last consecutive commit(s) whose messages match the specified text or /regexp/.
diffmsg = bylogmessagerange-command --with-log-args diff ; Diff from HEAD / the passed -r|--revision REVISION of consecutive commit(s) whose messages match the specified text or /regexp/.
; Simple patch creation:
; $ git diff 1b6d > my.patch
; On the receiving end, apply via:
; $ git apply my.patch
;; applycheck: Try to apply the passed patch and print statistics and result.
;; applyrcheck: Try to apply the passed patch to the root and print statistics and result.
;; applyr: Apply the patch from the root (as most patches should be based on the toplevel repository directory).
;
; Convert commit(s) to a (set of) patches [ <since> | <revision range> ],
; ready to send by email, by default saved to CWD / -o outdir in mbox
; format:
; $ git format-patch --stdout 1b6d..HEAD^^
; which can be passed to git send-email.
ma = format-patch
; On the receiving end, save an email to a file, then type:
; $ git am < email.txt
; Extract commits between revisions R1 and R2, and apply them on top of the current branch using git am to cherry-pick them:
; $ git ma -k --stdout R1..R2 | git am -3 -k
; This applies the incoming patch and also creates a commit, including information such as the author.
applymbox = am
g = grep --color -n
gf = grep --files-with-matches
g-f = grep --files-without-match
;; ls: List files under version control; skip unversioned files.
lsr = ls --recursive
ll = ls --long --relative-date ; List hash, author, and date of the last commit for each file under source control.
llr = ls --long --relative-date --recursive
;; lll: List all files under source control with relative paths from the working copy's root.
;; lllbrurl: List URLs to passed <remote> of all files under source control in the current branch. In contrast to lllhurl, this link will always point to the latest version on that branch.
lllbrourl = lllbrurl origin
lllbruurl = lllbrurl upstream
;; lllhurl: List URLs to passed <remote> of all files under source control with the current / passed revision. In contrast to lllbrurl (which incorporates future changes done in the branch), this creates a permalink to the current file's contents.
lllhourl = lllhurl origin
lllhuurl = lllhurl upstream
;; datediff: Show the time range of the commits done in the passed <revision-range>, or --since=<date>.
;; ident-update: Update the expansion of $Id:$ via ident in the .gitattributes after a commit. Can --install a hook to do this automatically on each commit.
; How to enable what strings:
; 1. echo '@(#) file $Id$ project' >> file
; 2. echo '* ident' >> .gitattributes
; 3. git commit file .gitattributes
;; find-blob: Find commit(s) (the last one is the earliest) which have the passed hash of a blob in their tree. Use to resolve the $Id$ put into a file via the "ident" gitattribute, e.g. in a what string.
;; hash-object: Print the hash of the passed file (which must not have the $Id$ expanded!)
; This is the same as
; (echo -e -n "blob $(stat -c %s "$file")\0"; cat "$file") | sha1sum
;; log: Show commit logs, decorate with ref names, show in topological (instead of chronological) order, keeping merged branches together.
log1 = log --decorate --max-count 1
log7 = log --decorate --max-count 7
;; rnlog: Show commit logs, limiting the number counting from the beginning instead of from the end. (You cannot do this via git log --reverse --max-count, because commit limiting is done before commit ordering.)
;; rnlg: One-line topology, author, date, tags and commit summary, limiting the number counting from the beginning instead of from the end.
logtimeshifted = discrepancylog --field1 AuthorDate: --field2 CommitDate: --pretty=fuller ; Show logs of amended or rebased commits only.
logonbehalf = discrepancylog --field1 Author: --field2 Commit: --pretty=fuller ; Show logs where author and committer are not the same person.
;; logg: Log only those commits where log messages match the specified text or /regexp/.
loggmine = mine-command logg
logg1 = logg --max-count 1
logg7 = logg --max-count 7
logg1mine = mine-command logg1
logg7mine = mine-command logg7
;; lgg: One-line topology, author, date, tags and commit summary where log messages match the specified text or /regexp/.
lgg1 = lgg --max-count 1
lgg7 = lgg --max-count 7
lgg1mine = mine-command lgg1
lgg7mine = mine-command lgg7
; findlog does not look at the log message at all, but the actual diff; i.e. those filepairs whose preimage and postimage have different number of occurrences of the text.
; XXX: Git (2.7.4 on Ubuntu, 2.12 on Windows) somehow has a built-in alias of "pickaxe" to "blame". Because of this, we have to use the shell command syntax !git-pickaxe instead of simply pickaxe.
findlog = !git-pickaxe ; Pickaxe: Show log of commits where text or /regexp/ was added or removed in the diff.
findlogmine = mine-command findlog
findlogv = !git-pickaxe --name-status ; Pickaxe: Show log and filenames of commits where text or /regexp/ was added or removed in the diff.
findlogvmine = mine-command findlogv
findlg = !git-pickaxe --abbrev-commit --date=relative --decorate --pretty=oneline ; Pickaxe: Show short log of commits where text or /regexp/ was added or removed in the diff.
findlgmine = mine-command findlg
findlc = !GIT_PICKAXE_COMMAND=lc git-pickaxe --date=relative ; Pickaxe: Show log together with diff of commits where text or /regexp/ was added or removed in the diff.
findlcmine = mine-command findlc
findlcl = !GIT_PICKAXE_COMMAND=lcl git-pickaxe --date=relative ; Pickaxe: Show separate log together with diff of commits where text or /regexp/ was added or removed in the diff.
findlclmine = mine-command findlcl
findshow = !git-pickaxe --max-count 1 --date=relative -p ; Pickaxe: Show short log together with diff of the most recent commit where text or /regexp/ was added or removed in the diff.
findshowmine = mine-command findshow
findversions = findcontained findlog annotated ; Show (only the) first annotated tag (used for official versions etc.) that comes after the commits where text or /regexp/ was added or removed in the diff.
findtags = findcontained findlog describe ; Show relation to the first tag (also lightweight, used for archiving) that comes after the commits where text or /regexp/ was added or removed in the diff.
; findlogg looks at both log message and actual diff; a combination of logg and findlog.
findlogg = pickaxegrep --no-patch ; Show log of commits where log messages match text or /regexp/ or where the text or /regexp/ was added or removed in the diff.
findloggmine = mine-command findlogg
findloggv = pickaxegrep --name-status ; Show log and filenames of commits where log messages match text or /regexp/ or where the text or /regexp/ was added or removed in the diff.
findloggvmine = mine-command findloggv
findlgg = pickaxegrep --no-patch --abbrev-commit --date=relative --decorate --pretty=oneline ; Show short log of commits where log messages match text or /regexp/ or where the text or /regexp/ was added or removed in the diff.
findlggmine = mine-command findlgg
findlcg = pickaxegrep --date=relative ; Show log together with diff of commits where log messages match text or /regexp/ or where the text or /regexp/ was added or removed in the diff.
findlcgmine = mine-command findlcg
findlclg = !GIT_LOGREVS_SHOW_COMMAND=showl git-pickaxegrep --date=relative ; Show separate log together with diff of commits where log messages match text or /regexp/ or where the text or /regexp/ was added or removed in the diff.
findlclgmine = mine-command findlclg
findversionsg = findcontained findlogg annotated ; Show (only the) first annotated tag (used for official versions etc.) that comes after the commit where log messages match text or /regexp/ or where the text or /regexp/ was added or removed in the diff.
findtagsg = findcontained findlogg describe ; Show relation to the first tag (also lightweight, used for archiving) that comes after the commit where log messages match text or /regexp/ or where the text or /regexp/ was added or removed in the diff.
wherelastlog = !GIT_PICKAXE_COMMAND='log --max-count 1' git-pickaxe ; Show single log of the commit where text or /regexp/ was last mentioned in the diff.
wherelastlogmine = mine-command wherelastlog
wherelastlogv = !GIT_PICKAXE_COMMAND='logv --max-count 1' git-pickaxe ; Show single log and filenames of the commit where text or /regexp/ was last mentioned in the diff.
wherelastlogvmine = mine-command wherelastlogv
wherelastshow = !git-pickaxe --max-count 1 -p ; Show short log together with diff of the most recent commit where text or /regexp/ was last mentioned in the diff.
wherelastshowmine = mine-command wherelastshow
; wherelastshow is like findshow, but without the relative date.
wherelastversions = findcontained wherelastlog annotated ; Show (only the) first annotated tag (used for official versions etc.) that comes after the commits where text or /regexp/ was last mentioned in the diff.
wherelasttags = findcontained wherelastlog describe ; Show relation to the first tag (also lightweight, used for archiving) that comes after the commits where text or /regexp/ was last mentioned in the diff.
wherelastlogg = pickaxegrep --max-count 1 --no-patch ; Show single log of the commit where text or /regexp/ was last mentioned in the log message or diff.
wherelastloggmine = mine-command wherelastlogg
wherelastloggv = pickaxegrep --max-count 1 --name-status ; Show single log and filenames of the commit where text or /regexp/ was last mentioned in the log message or diff.
wherelastloggvmine = mine-command wherelastloggv
wherelastshowg = pickaxegrep --max-count 1 --date=relative ; Show single log together with diff of the commit where text or /regexp/ was last mentioned in the log message or diff.
wherelastshowgmine = mine-command wherelastshowg
wherelastversionsg = findcontained wherelastlogg annotated ; Show (only the) first annotated tag (used for official versions etc.) that comes after the commit where text or /regexp/ was last mentioned in the log message or diff.
wherelasttagsg = findcontained wherelastlogg describe ; Show relation to the first tag (also lightweight, used for archiving) that comes after the commit where text or /regexp/ was last mentioned in the log message or diff.
whereintroducedlog = !GIT_PICKAXE_COMMAND='rnlog --reverse --max-count 1' git-pickaxe ; Show single log of the commit where text or /regexp/ was first mentioned (added) in the diff.
whereintroducedlogmine = mine-command whereintroducedlog
whereintroducedlogv = !GIT_RNLOG_COMMAND=logv GIT_PICKAXE_COMMAND='rnlog --reverse --max-count 1' git-pickaxe ; Show single log including filenames of the commit where text or /regexp/ was first mentioned (added) in the diff.
whereintroducedlogvmine = mine-command whereintroducedlogv
whereintroducedshow = !GIT_RNLOG_COMMAND=show GIT_PICKAXE_COMMAND='rnlog --reverse --max-count 1 --date=relative' git-pickaxe ; Show log together with diff of the commit where text or /regexp/ was first mentioned (added) in the diff.
whereintroducedshowmine = mine-command whereintroducedshow
whereintroducedversion = findcontained whereintroducedlog annotated ; Show (only the) first annotated tag (used for official versions etc.) that comes after the commit where text or /regexp/ was first mentioned (added) in the diff.
whereintroducedtag = findcontained whereintroducedlog describe ; Show relation to the first tag (also lightweight, used for archiving) that comes after the commit where text or /regexp/ was first mentioned (added) in the diff.
whereintroducedlogg = pickaxegrep --reverse --max-count 1 --no-patch ; Show single log of the commit where text or /regexp/ was first mentioned in the log message or diff.
whereintroducedloggmine = mine-command whereintroducedlogg
whereintroducedloggv = pickaxegrep --reverse --max-count 1 --name-status ; Show single log and filenames of the commit where text or /regexp/ was first mentioned in the log message or diff.
whereintroducedloggvmine = mine-command whereintroducedloggv
whereintroducedshowg = pickaxegrep --reverse --max-count 1 --date=relative ; Show single log together with diff of the commit where text or /regexp/ was first mentioned in the log message or diff.
whereintroducedshowgmine = mine-command whereintroducedshowg
whereintroducedversiong = findcontained whereintroducedlogg annotated ; Show (only the) first annotated tag (used for official versions etc.) that comes after the commit where text or /regexp/ was first mentioned in the log message or diff.
whereintroducedtagg = findcontained whereintroducedlogg describe ; Show relation to the first tag (also lightweight, used for archiving) that comes after the commit where text or /regexp/ was first mentioned in the log message or diff.
; touchedlog is a more encompassing variant of findlog that not just shows those commits where the number of occurrences of text or /regexp/ changes, but also lines matching text or /regexp/ that just were somehow modified, without changing the number of occurrences themselves.
touchedlog = !git-pickaxe --more ; Pickaxe: Show log where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedlogmine = mine-command touchedlog
touchedlogv = !git-pickaxe --more --name-status ; Pickaxe: Show log and filenames where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedlogvmine = mine-command touchedlogv
touchedlg = !git-pickaxe --more --abbrev-commit --date=relative --decorate --pretty=oneline ; Pickaxe: Show short log where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedlgmine = mine-command touchedlg
touchedlc = !GIT_PICKAXE_COMMAND=lc git-pickaxe --more --date=relative ; Pickaxe: Show log together with diff where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedlcmine = mine-command touchedlc
touchedlcl = !GIT_PICKAXE_COMMAND=lcl git-pickaxe --more --date=relative ; Pickaxe: Show separate log together with diff where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedlclmine = mine-command touchedlcl
touchedshow = !git-pickaxe --more --max-count 1 --date=relative -p ; Pickaxe: Show log together with diff of the most recent commit where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedshowmine = mine-command touchedshow
touchedversions = findcontained touchedlog annotated ; Show (only the) first annotated tag (used for official versions etc.) that comes after the commits where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedtags = findcontained touchedlog describe ; Show relation to the first tag (also lightweight, used for archiving) that comes after the commits where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedlogg = pickaxegrep --more --no-patch ; Show log of commits where log messages match text or /regexp/ or where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedloggmine = mine-command touchedlogg
touchedloggv = pickaxegrep --more --name-status ; Show log and filenames of commits where log messages match text or /regexp/ or where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedloggvmine = mine-command touchedloggv
touchedlgg = pickaxegrep --more --no-patch --abbrev-commit --date=relative --decorate --pretty=oneline ; Show short log of commits where log messages match text or /regexp/ or where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedlggmine = mine-command touchedlgg
touchedlcg = pickaxegrep --more --date=relative ; Show log together with diff of commits where log messages match text or /regexp/ or where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedlcgmine = mine-command touchedlcg
touchedlclg = !GIT_LOGREVS_SHOW_COMMAND=showl git-pickaxegrep --more --date=relative ; Show separate log together with diff of commits where log messages match text or /regexp/ or where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedlclgmine = mine-command touchedlclg
touchedversionsg = findcontained touchedlogg annotated ; Show (only the) first annotated tag (used for official versions etc.) that comes after the commit where log messages match text or /regexp/ or where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
touchedtagsg = findcontained touchedlogg describe ; Show relation to the first tag (also lightweight, used for archiving) that comes after the commit where log messages match text or /regexp/ or where lines were modified where text or /regexp/ appears (without necessarily modifying text or /regexp/ itself).
lc = whatchanged -m -p ; Logs together with diff between commits.
lcf = whatchanged -m --first-parent -p ; Logs together with diff between commits, but only from the "main branch" perspective, skipping commits that come from merged branches. This makes sense only when following a strict policy of merging all topic branches when staying on a single integration branch.
;; lcl: Show separate log and diff of each commit (instead of concatenating all commits), paged through with less. Limit the number of commits via -<number> / -n <number> / --max-count <number> if the default of 20 isn't right.
lclf = lcl --first-parent
lcmine = mine-command lc ; Logs together with diff between commits, filtered for my personal commits.
lcteam = team-command lc ; Logs together with diff between commits, filtered for my team's commits.
lclastby = dashdash-default-command : others-command byuserrange-command lc --auto-revision : ; Logs together with diff between commits of the last consecutive commit(s) done by the passed or queried user(s)
lcby = dashdash-default-command : others-command lc : ; Logs together with diff between commits, filtered for that user(s)' commits.
lcfmine = lcmine --first-parent
lcfteam = lcteam --first-parent
lcfby = dashdash-default-command : others-command lc --first-parent :
lclastmsg = bylogmessagerange-command lc --with-log-args --auto-revision ; Logs together with diff between commits of the last consecutive commit(s) whose messages match the specified text or /regexp/.
;; show: Log together with diff for a particular commit; like lc but will not log further commits.
;; showl: Show separate log together with diff of each passed revision (instead of concatenating all commits), paged through with less.
showw = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse show --color-words ; use word-based (not line-based) diff granularity
showc = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse show --color-words --word-diff-regex=. ; use character-based diff granularity
showa = -c color.diff.old=red\\ reverse -c color.diff.new=green\\ reverse show --color-words --word-diff-regex=(^|[^[:alnum:]_])[[:alnum:]_]+([^[:alnum:]_]|$)|[^[:space:]] ; use alnum-based diff granularity
;; showselected: Log together with diff for the commit interactively chosen from the commits in the passed <range>.
;; showlselected: Show separate log together with diff for the commit interactively chosen from the commits in the passed <range>.
showmine = mine-command byuserrange-command show --last-only --auto-revision
showteam = team-command byuserrange-command show --last-only --auto-revision
showlastby = dashdash-default-command : others-command byuserrange-command show --last-only --auto-revision :
showby = dashdash-default-command : others-command show :
showwmine = mine-command byuserrange-command showw --last-only --auto-revision
showwteam = team-command byuserrange-command showw --last-only --auto-revision
showwlastby = dashdash-default-command : others-command byuserrange-command showw --last-only --auto-revision :
showwby = dashdash-default-command : others-command showw :
showcmine = mine-command byuserrange-command showc --last-only --auto-revision
showcteam = team-command byuserrange-command showc --last-only --auto-revision
showclastby = dashdash-default-command : others-command byuserrange-command showc --last-only --auto-revision :
showcby = dashdash-default-command : others-command showc :
showamine = mine-command byuserrange-command showa --last-only --auto-revision
showateam = team-command byuserrange-command showa --last-only --auto-revision
showalastby = dashdash-default-command : others-command byuserrange-command showa --last-only --auto-revision :
showaby = dashdash-default-command : others-command showa :
;; showfiles: Show the files modified in passed commit or commit range.
showfilesmine = mine-command byuserrange-command showfiles --last-only --auto-revision ; Show the files modified by me in my last commit.
showfilesteam = team-command byuserrange-command showfiles --last-only --auto-revision ; Show the files modified by my team in our last commit.
bymeshowfiles = mine-command byuserrange-command showfiles ; Show all files modified by me in the last / passed -r <commit> and directly preceding, as long as they also were by me.
byteamshowfiles = team-command byuserrange-command showfiles ; Show all files modified by my team in the last / passed -r <commit> and directly preceding, as long as they also were by them.
showfind = !GIT_PICKAXE_COMMAND=show git-pickaxe ; Log together with diff of those files where text or /regexp/ was added or removed.
showfilesfind = !GIT_PICKAXE_COMMAND=showfiles git-pickaxe ; Show the files modified in passed commit or commit range where text or /regexp/ was added or removed.
showtouched = !GIT_PICKAXE_COMMAND=show git-pickaxe --more ; Log together with diff of those files where lines were modified where text or /regexp/ appears.
showfilestouched = !GIT_PICKAXE_COMMAND=showfiles git-pickaxe --more ; Show the files modified in passed commit or commit range where lines were modified where text or /regexp/ appears.
; Commit logs Note: Git 1.6.0 only supports %Cred, %Cgreen, %Cblue for highlighting; only newer Git versions also support %C(more-colors).
;; logv: Verbose log that includes filenames (like "svn log -v"), and additional committer vs. author information. Still shows all files of the commit even when filtering commits for certain paths (whereas "git log --name-status" also filters the file list itself).
logv1 = logv --max-count 1
logv7 = logv --max-count 7
l = log --pretty=tformat:%s ; One-line list of commit summaries.
l1 = l --max-count 1
l7 = l --max-count 7
lo = log --pretty=format:%B ; Raw, unwrapped subject and body.
lo1 = show --no-patch --pretty=format:%B ; Raw, unwrapped subject and body, only for the passed commits. Good for reusing for a new commit message.
lo7 = log --max-count 7 --pretty=format:%B ; Raw, unwrapped subject and body, only for the passed commits. Good for reusing for a new commit message.
lmine = mine-command l ; git l, filtered for my personal commits.
lteam = team-command l ; git l, filtered for my team's commits.
llastby = dashdash-default-command : others-command byuserrange-command l --auto-revision : ; git l of the last consecutive commit(s) done by the passed or queried user(s)
lby = dashdash-default-command : others-command l : ; git l, filtered for that user(s)' commits.
lmine1 = lmine --max-count 1
lmine7 = lmine --max-count 7
lteam1 = lteam --max-count 1
lteam7 = lteam --max-count 7
lothers1 = dashdash-default-command : others-command l --max-count 1 :
lothers7 = dashdash-default-command : others-command l --max-count 7 :
llastmsg = bylogmessagerange-command l --with-log-args --auto-revision ; One-line list of commit summaries of the last consecutive commit(s) whose messages match the specified text or /regexp/.
lg = onelinelog --graph ; One-line topology, author, date, tags and commit summary.
lg1 = lg --max-count 1
lg7 = lg --max-count 7
lgandrefs = onelinelog-and-decorations ; One-line author, date, tags and commit summary for files in <path>, plus any ref names, also of commits not covered.
lgandtagged = onelinelog-and-decorations --decorate-refs=refs/tags/ ; One-line author, date, tags and commit summary for files in <path>, plus any tags, also of commits not covered.
lgandbr = onelinelog-and-decorations --decorate-refs=refs/heads/ ; One-line author, date, tags and commit summary for files in <path>, plus any tips of local branches, also of commits not covered.
lgandremote = onelinelog-and-decorations --decorate-refs=refs/remotes/ ; One-line author, date, tags and commit summary for files in <path>, plus any tips of remote branches, also of commits not covered.
lgandorigin = onelinelog-and-decorations --decorate-refs=refs/remotes/origin/ ; One-line author, date, tags and commit summary for files in <path>, plus any tips of branches in my remote GitHub clone, also of commits not covered.
lgandupstream = onelinelog-and-decorations --decorate-refs=refs/remotes/upstream/ ; One-line author, date, tags and commit summary for files in <path>, plus any tips of upstream branches, also of commits not covered.
lgtagged = onelinelog-and-decorations --only-decorations --decorate-refs=refs/tags/ ; One-line author, date, tags and commit summary for commits that are tagged.
lgbr = onelinelog-and-decorations --only-decorations --decorate-refs=refs/heads/ ; One-line author, date, tips and commit summary for commits that are at the tip of a local branch.
lgremote = onelinelog-and-decorations --only-decorations --decorate-refs=refs/remotes/ ; One-line author, date, tips and commit summary for commits that are at the tip of a remote branch.
lgorigin = onelinelog-and-decorations --only-decorations --decorate-refs=refs/remotes/origin/ ; One-line author, date, tips and commit summary for commits that are at the tip of a branch in my remote GitHub clone.
lgupstream = onelinelog-and-decorations --only-decorations --decorate-refs=refs/remotes/upstream/ ; One-line author, date, tips and commit summary for commits that are at the tip of a branch in upstream.
;; lgv: One-line author, date, tags and commit summary, followed by modified filenames like "svn log -v".
lh = log --pretty=tformat:%H ; One-line list of full commit hashes; useful with --grep.
lh1 = lh --max-count 1 ; Same as rev-parse HEAD.
lh7 = lh --max-count 7 ; Same as rev-parse HEAD.
lhmine = mine-command lh ; git lh, filtered for my personal commits.
lhteam = team-command lh ; git lh, filtered for my team's commits.
lhlastby = dashdash-default-command : others-command byuserrange-command lh --auto-revision : ; git lh of the last consecutive commit(s) done by the passed or queried user(s)
lhby = dashdash-default-command : others-command lh : ; git lh, filtered for that user(s)' commits.
lhmine1 = lhmine --max-count 1
lhmine7 = lhmine --max-count 7
lhteam1 = lhteam --max-count 1
lhteam7 = lhteam --max-count 7
lhothers1 = dashdash-default-command : others-command lh --max-count 1 :
lhothers7 = dashdash-default-command : others-command lh --max-count 7 :
lhlastmsg = bylogmessagerange-command lh --with-log-args --auto-revision
;; lurl: URLs to passed <remote> of all found commits.
lourl = lurl origin ; My GitHub clone URLs of all found commits.
lourl1 = lourl --max-count 1
lourl7 = lourl --max-count 7
luurl = lurl upstream ; Upstream URLs of all found commits.
luurl1 = luurl --max-count 1
luurl7 = luurl --max-count 7
lourlv = lurl origin --name-status ; My GitHub clone URLs and changed files of all found commits.
lourlv1 = lourlv --max-count 1
lourlv7 = lourlv --max-count 7
luurlv = lurl upstream --name-status ; Upstream URLs and changed files of all found commits.
luurlv1 = luurlv --max-count 1
luurlv7 = luurlv --max-count 7
;; treeurl: URLs to passed <remote> of the trees of all found commits.
treeourl = treeurl origin ; My GitHub clone URLs of the trees of all found commits.
treeourl1 = treeourl --max-count 1
treeourl7 = treeourl --max-count 7
treeuurl = treeurl upstream ; Upstream URLs of the trees of all found commits.
treeuurl1 = treeuurl --max-count 1
treeuurl7 = treeuurl --max-count 7
treeourlv = treeurl origin --name-status ; My GitHub clone URLs of the trees of all found commits and changed files.
treeourlv1 = treeourlv --max-count 1
treeourlv7 = treeourlv --max-count 7
treeuurlv = treeurl upstream --name-status ; Upstream URLs of the trees of all found commits and changed files.
treeuurlv1 = treeuurlv --max-count 1
treeuurlv7 = treeuurlv --max-count 7
;; lghighlight: git lg, with lines that match passed PATTERN highlighted
lghi = lghighlight
lghimine = mine-command --no-option-name lghighlight ; git lg, with my personal commits highlighted
lghiteam = team-command --no-option-name lghighlight ; git lg, with my team's commits highlighted
lghiby = dashdash-default-command : others-command --name --no-option-name --joined-as-pattern --prefix '(' --suffix ', ' lghighlight : ; git lg, with that user(s)' commits highlighted
;; lghighlightedcommits: git lg, with commits that result from GIT-LOG-COMMAND (which will be configured to output just commit hashes) highlighted. That argument and GIT-LOG-ARGUMENTS replace a {} marker in GIT-LOG-COMMAND or will be appended.
;; lghifiles: git lg, with commits that touch the passed <path>s getting highlighted.
lghist = lghighlightedcommits git\\ logst ; git lg, with commits touching currently modified files highlighted.
lghii = lghighlightedcommits git\\ logi ; git lg, with commits touching currently staged files highlighted.
lghi-i = lghighlightedcommits git\\ log-i ; git lg, with commits touching currently modified but not staged files highlighted.
;; lgghi: git lg, with commits where log messages match the specified text or /regexp/ getting highlighted.
;; lgmine: git lg, filtered for my personal commits.
;; lgteam: git lg, filtered for my team's commits.
lglastby = dashdash-default-command : others-command byuserrange-command lg --auto-revision : ; git lg of the last consecutive commit(s) done by the passed or queried user(s)
lgby = dashdash-default-command : others-command lg : ; git lg, filtered for that user(s)' commits.
lgmine1 = lgmine --max-count 1
lgmine7 = lgmine --max-count 7
lgteam1 = lgteam --max-count 1
lgteam7 = lgteam --max-count 7
lgothers1 = dashdash-default-command : others-command lg --max-count 1 :
lgothers7 = dashdash-default-command : others-command lg --max-count 7 :
lglastmsg = bylogmessagerange-command lg --with-log-args --auto-revision
logmine = mine-command log ; git log, filtered for my personal commits.
logteam = team-command log ; git log, filtered for my team's commits.
loglastby = dashdash-default-command : others-command byuserrange-command log --auto-revision : ; git log of the last consecutive commit(s) done by the passed or queried user(s)
logby = dashdash-default-command : others-command log : ; git log, filtered for that user(s)' commits.
logmine1 = logmine --max-count 1
logmine7 = logmine --max-count 7
logteam1 = logteam --max-count 1
logteam7 = logteam --max-count 7
logothers1 = dashdash-default-command : others-command log --max-count 1 :
logothers7 = dashdash-default-command : others-command log --max-count 7 :
loglastmsg = bylogmessagerange-command log --with-log-args --auto-revision
logvmine = mine-command logv ; logmine including filenames
logvteam = team-command logv ; logteam including filenames
logvlastby = dashdash-default-command : others-command byuserrange-command logv --auto-revision : ; loglastby including filenames
logvby = dashdash-default-command : others-command logv : ; logby including filenames
logvmine1 = logvmine --max-count 1
logvmine7 = logvmine --max-count 7
logvteam1 = logvteam --max-count 1
logvteam7 = logvteam --max-count 7
logvothers1 = dashdash-default-command : others-command logv --max-count 1 :
logvothers7 = dashdash-default-command : others-command logv --max-count 7 :
logvlastmsg = bylogmessagerange-command logv --with-log-args --auto-revision
lminetoday = today-command mine-command l ; One-line list of commit summaries of my changes of today.
lteamtoday = today-command team-command l ; One-line list of commit summaries of my team's changes of today.
lotherstoday = today-command dashdash-default-command : others-command l : ; One-line list of commit summaries of my changes of today.
lgminetoday = today-command mine-command lg ; One-line topology, author, date, tags and commit summary of my changes of today.
lgteamtoday = today-command team-command lg ; One-line topology, author, date, tags and commit summary of my team's changes of today.
lgotherstoday = today-command dashdash-default-command : others-command lg : ; One-line topology, author, date, tags and commit summary of my changes of today.
logminetoday = today-command mine-command log ; Show log of my changes of today.
logteamtoday = today-command team-command log ; Show log of my team's changes of today.
logotherstoday = today-command dashdash-default-command : others-command log : ; Show log of my changes of today.
logvminetoday = today-command mine-command log --name-status
logvteamtoday = today-command team-command log --name-status
logvotherstoday = today-command dashdash-default-command : others-command log --name-status :
lmineweek = week-command mine-command l ; One-line list of commit summaries of my changes of the previous 7 days.
lteamweek = week-command team-command l ; One-line list of commit summaries of my team's changes of the previous 7 days.
lothersweek = week-command dashdash-default-command : others-command l : ; One-line list of commit summaries of my changes of the previous 7 days.
lgmineweek = week-command mine-command lg ; One-line topology, author, date, tags and commit summary of my changes of the previous 7 days.
lgteamweek = week-command team-command lg ; One-line topology, author, date, tags and commit summary of my team's changes of the previous 7 days.
lgothersweek = week-command dashdash-default-command : others-command lg : ; One-line topology, author, date, tags and commit summary of my changes of the previous 7 days.
logmineweek = week-command mine-command log ; Show log of my changes of the previous 7 days.
logteamweek = week-command team-command log ; Show log of my team's changes of the previous 7 days.
logothersweek = week-command dashdash-default-command : others-command log : ; Show log of my changes of the previous 7 days.
logvmineweek = week-command mine-command log --name-status
logvteamweek = week-command team-command log --name-status
logvothersweek = week-command dashdash-default-command : others-command log --name-status :
lgst = stfiles-command lg ; One-line topology, author, date, tags and commit summary of currently modified files.
logst = stfiles-command log ; Commit logs of currently modified files.
logvst = stfiles-command logv ; Verbose commit logs (including filenames) of currently modified files.
lcst = stfiles-command lc ; Logs together with diff between commits, of currently modified files.
lgi = stifiles-command lg ; One-line topology, author, date, tags and commit summary of currently staged files.
logi = stifiles-command log ; Commit logs of currently staged files.
logvi = stifiles-command logv ; Verbose commit logs (including filenames) of currently staged files.
lci = stifiles-command lc ; Logs together with diff between commits, of currently staged files.
lg-i = stIfiles-command lg ; One-line topology, author, date, tags and commit summary of modified but not staged files.
log-i = stIfiles-command log ; Commit logs of modified but not staged files.
logv-i = stIfiles-command logv ; Verbose commit logs (including filenames) of modified but not staged files.
lc-i = stIfiles-command lc ; Logs together with diff between commits, of modified but not staged files.
lgs = selected-command --filter '' lg ; Interactively select (from modified files or passed list of files) files (or directly pass N, M, ... selections) to log one-line topology, author, date, tags and commit summary by number.
logs = selected-command --filter '' log ; Interactively select (from modified files or passed list of files) files (or directly pass N, M, ... selections) commit logs by number.
logvs = selected-command --filter '' logv ; Interactively select (from modified files or passed list of files) files (or directly pass N, M, ... selections) verbose commit logs (including filenames) by number.
lcs = selected-command --filter '' lc ; Interactively select (from modified files or passed list of files) files (or directly pass N, M, ... selections) to log commits together with diff between commits by number.
emaillg = email-command lg ; Start composing an email with one-line topology, author, date, tags and commit summary output to the originators of the covered commits.
emaillg1 = email-command lg --max-count 1
emaillg7 = email-command lg --max-count 7
emaillog = email-command log ; Start composing an email with log output to the originators of the covered commits.
emaillog1 = email-command log --max-count 1
emaillog7 = email-command log --max-count 7
emaillc = email-command lc ; Start composing an email with logs together with diff output to the originators of the covered commits.
emailshow = email-command show ; Start composing an email with log + diff output to the originators of the covered commits.
;; rev-parse: Resolve commit id from various passed ref types.
;; commitid: Resolve commit id from the passed commit ref, with error message (unless -n|--no-error). With -q|--quiet, just performs the check without any output.
;; equals: Check whether all passed refs refer to the same commit.
;; td...: Log variants that only cover changes committed today.
tdchurn = today-command churn
tdd = today-command --no-range diffuntil ; Show all changes from today in a single big diff.
tddl = today-command --no-range diffuntill ; Show all changes from today in a big diffs, separately for each changed file.
tddt = today-command --no-range difftooluntil ; Show all changes from today in a single big diff.
tdma = today-command --no-range --one-more format-patch
tdfindlog = today-command findlog
tdfindlogv = today-command findlogv
tdfindlg = today-command findlg
tdfindlc = today-command findlc
tdfindlcl = today-command findlcl
tdfindshow = today-command findshow
tdfindlogg = today-command findlogg
tdfindloggv = today-command findloggv
tdfindlgg = today-command findlgg
tdfindlcg = today-command findlcg
tdfindlclg = today-command findlclg
tdtouchedlog = today-command touchedlog
tdtouchedlogv = today-command touchedlogv
tdtouchedlg = today-command touchedlg
tdtouchedlc = today-command touchedlc
tdtouchedlcl = today-command touchedlcl
tdtouchedshow = today-command touchedshow
tdtouchedlogg = today-command touchedlogg
tdtouchedloggv = today-command touchedloggv
tdtouchedlgg = today-command touchedlgg
tdtouchedlcg = today-command touchedlcg
tdtouchedlclg = today-command touchedlclg
tdwherelastlog = today-command wherelastlog
tdwherelastlogv = today-command wherelastlogv
tdwherelastshow = today-command wherelastshow
tdwherelastlogg = today-command wherelastlogg
tdwherelastloggv = today-command wherelastloggv
tdwherelastshowg = today-command wherelastshowg
tdwhereintroducedlog = today-command whereintroducedlog
tdwhereintroducedlogv = today-command whereintroducedlogv
tdwhereintroducedshow = today-command whereintroducedshow
tdwhereintroducedlogg = today-command whereintroducedlogg
tdwhereintroducedloggv = today-command whereintroducedloggv
tdwhereintroducedshowg = today-command whereintroducedshowg
tdlc = today-command lc
tdlcf = today-command lcf --reverse
tdlcl = today-command lcl --reverse
tdlclf = today-command lclf --reverse
tdlcmine = today-command lcmine --reverse
tdlcteam = today-command lcteam --reverse
tdlcby = dashdash-default-command : today-command others-command lc --reverse :
tdlcfmine = today-command lcfmine --reverse
tdlcfteam = today-command lcfteam --reverse
tdlcfby = today-command lcfby --reverse
tdshow = today-command show
tdshoww = today-command showw
tdshowc = today-command showc
tdshowa = today-command showa
tdshowfiles = today-command --no-range showfiles
tdshowselected = today-command showselected
tdshowlselected = today-command showlselected
tdlog = today-command log
tdlogv = today-command logv
tdglog = today-command glog
tdlogg = today-command logg
tdlgg = today-command lgg
tdl = today-command l
tdlmine = today-command lmine
tdlteam = today-command lteam
tdlby = dashdash-default-command : today-command others-command l :
tdlg = today-command lg
tdlgv = today-command lgv
tdlh = today-command lh --reverse
tdlhmine = today-command lhmine --reverse
tdlhteam = today-command lhteam --reverse
tdlhby = dashdash-default-command : today-command others-command lh --reverse :
tdlurl = today-command lurl
tdlourl = today-command lourl --reverse
tdluurl = today-command luurl --reverse
tdlourlv = today-command lourlv --reverse
tdluurlv = today-command luurlv --reverse
tdtreeurl = today-command treeurl
tdtreeourl = today-command treeourl --reverse
tdtreeuurl = today-command treeuurl --reverse
tdtreeourlv = today-command treeourlv --reverse
tdtreeuurlv = today-command treeuurlv --reverse
tdlgmine = today-command lgmine
tdlgteam = today-command lgteam
tdlgby = dashdash-default-command : today-command others-command lg :
tdlogmine = today-command logmine
tdlogteam = today-command logteam
tdlogby = dashdash-default-command : today-command others-command log :
tdrevert = today-command revertselected
tdrevertcommit = today-command revertcommitselected
tdcorrect = today-command correctselected
tdcorrectst = today-command correctst
tdcorrecti = today-command correcti
tdcorrect-i = today-command correct-i
tdfixup = today-command fixupselected
tdfixupst = today-command fixupst
tdfixupi = today-command fixupi
tdfixup-i = today-command fixup-i
tdrbfixup = today-command rbfixupselected
tdcommitidentical = today-command commitidenticalselected
tdcommitidenticalst = today-command commitidenticalst
tdcommitidenticali = today-command commitidenticali
tdcommitidentical-i = today-command commitidentical-i
tdcommitlike = today-command commitlikeselected
tdcommitlikest = today-command commitlikest
tdcommitlikei = today-command commitlikei
tdcommitlike-i = today-command commitlike-i
tdrbi = today-command --no-range --one-more rebase -i
tdrbni = today-command --no-range --one-more rbni
tdwipe = today-command --one-more wipetoselected
tdbase = today-command --no-range name-rev --name-only
tdwhodid = files-command whodid tdshowfiles
tdwhotouched = today-command whodid
tdwhatdid = today-command whatdid
; tdactivity would just show activity for today
; tdactivitymine would just show activity for today
; tdactivityteam would just show activity for today
tdlogdistribution = today-command logdistribution
tdlogdistributionmine = today-command logdistributionmine
tdlogdistributionteam = today-command logdistributionteam
tdemaillog = today-command email-command log
tdemaillc = today-command email-command show
; tdreintegrate does not cover a branch
; tdpull-request does not cover a branch
;; week...: Log variants that only cover changes committed over one week.
weekchurn = week-command churn
weekd = week-command --no-range diffuntil ; Show all changes from the last seven days in a single big diff.
weekdl = week-command --no-range diffuntill ; Show all changes from the last seven days in a big diffs, separately for each changed file.
weekdt = week-command --no-range difftooluntil ; Show all changes from the last seven days in a single big diff.
weekma = week-command --no-range --one-more format-patch
weekfindlog = week-command findlog
weekfindlogv = week-command findlogv
weekfindlg = week-command findlg
weekfindlc = week-command findlc
weekfindlcl = week-command findlcl
weekfindshow = week-command findshow
weekfindlogg = week-command findlogg
weekfindloggv = week-command findloggv
weekfindlgg = week-command findlgg
weekfindlcg = week-command findlcg
weekfindlclg = week-command findlclg
weektouchedlog = week-command touchedlog
weektouchedlogv = week-command touchedlogv
weektouchedlg = week-command touchedlg
weektouchedlc = week-command touchedlc
weektouchedlcl = week-command touchedlcl
weektouchedshow = week-command touchedshow
weektouchedlogg = week-command touchedlogg
weektouchedloggv = week-command touchedloggv
weektouchedlgg = week-command touchedlgg
weektouchedlcg = week-command touchedlcg
weektouchedlclg = week-command touchedlclg
weekwherelastlog = week-command wherelastlog
weekwherelastlogv = week-command wherelastlogv
weekwherelastshow = week-command wherelastshow
weekwherelastlogg = week-command wherelastlogg
weekwherelastloggv = week-command wherelastloggv
weekwherelastshowg = week-command wherelastshowg
weekwhereintroducedlog = week-command whereintroducedlog
weekwhereintroducedlogv = week-command whereintroducedlogv
weekwhereintroducedshow = week-command whereintroducedshow
weekwhereintroducedlogg = week-command whereintroducedlogg
weekwhereintroducedloggv = week-command whereintroducedloggv
weekwhereintroducedshowg = week-command whereintroducedshowg
weeklc = week-command lc
weeklcf = week-command lcf --reverse
weeklcl = week-command lcl --reverse
weeklclf = week-command lclf --reverse
weeklcmine = week-command lcmine --reverse
weeklcteam = week-command lcteam --reverse
weeklcby = dashdash-default-command : week-command others-command lc --reverse :
weeklcfmine = week-command lcfmine --reverse
weeklcfteam = week-command lcfteam --reverse
weeklcfby = week-command lcfby --reverse
weekshow = week-command show
weekshoww = week-command showw
weekshowc = week-command showc
weekshowa = week-command showa
weekshowfiles = week-command --no-range showfiles
weekshowselected = week-command showselected
weekshowlselected = week-command showlselected
weeklog = week-command log
weeklogv = week-command logv
weekglog = week-command glog
weeklogg = week-command logg
weeklgg = week-command lgg
weekl = week-command l
weeklmine = week-command lmine
weeklteam = week-command lteam
weeklby = dashdash-default-command : week-command others-command l :
weeklg = week-command lg
weeklgv = week-command lgv
weeklh = week-command lh --reverse
weeklhmine = week-command lhmine --reverse
weeklhteam = week-command lhteam --reverse
weeklhby = dashdash-default-command : week-command others-command lh --reverse :
weeklurl = week-command lurl
weeklourl = week-command lourl --reverse
weekluurl = week-command luurl --reverse
weeklourlv = week-command lourlv --reverse
weekluurlv = week-command luurlv --reverse
weektreeurl = week-command treeurl
weektreeourl = week-command treeourl --reverse
weektreeuurl = week-command treeuurl --reverse
weektreeourlv = week-command treeourlv --reverse
weektreeuurlv = week-command treeuurlv --reverse
weeklgmine = week-command lgmine
weeklgteam = week-command lgteam
weeklgby = dashdash-default-command : week-command others-command lg :
weeklogmine = week-command logmine
weeklogteam = week-command logteam
weeklogby = dashdash-default-command : week-command others-command log :
weekrevert = week-command revertselected
weekrevertcommit = week-command revertcommitselected