config (1534B)
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 editor = nvim 16 [credential] 17 helper = store 18 [diff] 19 algorithm = histogram 20 mnemonicprefix = true 21 tool = nvimdiff 22 [filter "lfs"] 23 required = true 24 clean = git-lfs clean -- %f 25 smudge = git-lfs smudge -- %f 26 process = git-lfs filter-process 27 [grep] 28 lineNumber = true 29 [merge] 30 conflictStyle = zdiff3 31 stat = true 32 [pull] 33 rebase = true 34 [push] 35 default = simple 36 [rebase] 37 autosquash = true 38 [rerere] 39 enabled = true 40 [sendemail] 41 smtpserver = smtp.gmail.com 42 smtpuser = chris@bracken.jp 43 smtpencryption = tls 44 smtpserverport = 587 45 annotate = true 46 [user] 47 name = Chris Bracken 48 email = chris@bracken.jp 49 50 # If a host-local config file is present, merge it into our config. 51 [include] 52 path = ~/.config/git/local_config