config (1582B)
1 [alias] 2 lol = log --pretty=format:'%C(yellow)%h%C(reset) %C(green)%ci%C(reset) %C(blue)%an%C(reset) %C(yellow)%d%C(reset) %s' 3 logstats = log --pretty=format:'%C(yellow)%h%C(reset) %C(green)%cr%C(reset) %C(blue)%an%C(reset): %s' --stat 4 vimdiff = difftool 5 6 # Output the diff stats + patch for the current patch. 7 patch-diff = !git diff --patch --stat $(git merge-base HEAD $(git branch | cut -c 3- | grep -E '^master$|^main$')) 8 # Output just the diff stats for the current patch. 9 patch-stats = !git diff --stat $(git merge-base HEAD $(git branch | cut -c 3- | grep -E '^master$|^main$')) 10 # Output just the files modified for the current patch. 11 patch-files = !git diff --name-only $(git merge-base HEAD $(git branch | cut -c 3- | grep -E '^master$|^main$')) 12 [color] 13 ui = auto 14 [core] 15 excludesfile = ~/.config/git/gitignore_global 16 editor = nvim 17 [credential] 18 helper = store 19 [diff] 20 algorithm = histogram 21 mnemonicprefix = true 22 tool = nvimdiff 23 [filter "lfs"] 24 required = true 25 clean = git-lfs clean -- %f 26 smudge = git-lfs smudge -- %f 27 process = git-lfs filter-process 28 [grep] 29 lineNumber = true 30 [merge] 31 conflictStyle = zdiff3 32 stat = true 33 [pull] 34 rebase = true 35 [push] 36 default = simple 37 [rebase] 38 autosquash = true 39 [rerere] 40 enabled = true 41 [sendemail] 42 smtpserver = smtp.gmail.com 43 smtpuser = chris@bracken.jp 44 smtpencryption = tls 45 smtpserverport = 587 46 annotate = true 47 [user] 48 name = Chris Bracken 49 email = chris@bracken.jp 50 51 # If a host-local config file is present, merge it into our config. 52 [include] 53 path = ~/.config/git/local_config