Last active
October 24, 2025 10:47
-
-
Save imaami/8a2233f4f89f6dc3dc056a39fc8a095c to your computer and use it in GitHub Desktop.
A somewhat OK ~/.gitconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [alias] | |
| aliases = config get --all --global --regexp --show-names '^alias\\.' | |
| br = branch -avv --color=always | |
| ib = blame --color-by-age --follow -w | |
| idiff = diff --color=always --ignore-all-space --ignore-blank-lines --ignore-cr-at-eol --ignore-space-at-eol --ignore-space-change | |
| ilog = log --color=always --ignore-all-space --ignore-blank-lines --ignore-cr-at-eol --ignore-space-at-eol --ignore-space-change | |
| ishow = show --color=always --ignore-all-space --ignore-blank-lines --ignore-cr-at-eol --ignore-space-at-eol --ignore-space-change | |
| iwdiff = diff --color=always --ignore-all-space --ignore-blank-lines --ignore-cr-at-eol --ignore-space-at-eol --ignore-space-change --color-words='([A-Z_a-z][0-9A-Z_a-z]*|0[Xx][[:xdigit:]]+|([1-9][0-9]*)?[0-9])' | |
| iwlog = log --color=always --ignore-all-space --ignore-blank-lines --ignore-cr-at-eol --ignore-space-at-eol --ignore-space-change --color-words='([A-Z_a-z][0-9A-Z_a-z]*|0[Xx][[:xdigit:]]+|([1-9][0-9]*)?[0-9])' | |
| iwshow = show --color=always --ignore-all-space --ignore-blank-lines --ignore-cr-at-eol --ignore-space-at-eol --ignore-space-change --color-words='([A-Z_a-z][0-9A-Z_a-z]*|0[Xx][[:xdigit:]]+|([1-9][0-9]*)?[0-9])' | |
| nice = log --stat --ignore-all-space --ignore-blank-lines --ignore-cr-at-eol --ignore-space-at-eol --color --ignore-space-change --pretty=format:'%C(189)commit %H%C(auto)%d%C(reset)%n%C(147)[%aI]%C(reset) %C(69)%aN <%aE>%C(reset)%n%C(141)[%cI]%C(reset) %C(57)%cN <%cE>%C(reset)%n%n%w(0,4,4)%C(118)%B%C(214)' | |
| noice = log --stat --color --pretty=format:'%C(189)commit %H%C(auto)%d%C(reset)%n%C(147)[%aI]%C(reset) %C(69)%aN <%aE>%C(reset)%n%C(141)[%cI]%C(reset) %C(57)%cN <%cE>%C(reset)%n%n%w(0,4,4)%C(118)%B%C(214)' | |
| one = log --color=always --abbrev=16 --date='format:%Y-%m-%d %H:%M' --pretty='%C(153)%ad %C(140)%<(16,trunc)%aN %C(189)%<(89,trunc)%s%C(reset) %C(188)%h%C(reset) %C(241)%p%C(reset)%C(auto)%d%C(reset)' | |
| oneline = log --abbrev=16 --date='format:%Y-%m-%d %H:%M' --pretty='%C(116)%ad %C(140)%<(16,trunc)%aN %C(189)%<(79,trunc)%s%C(147) %h%C(reset)%C(auto)%d%C(reset)' | |
| st = status | |
| sti = status --ignored | |
| tree = log --graph --oneline --all --decorate --abbrev-commit | |
| wdiff = diff --color=always --color-words='([A-Z_a-z][0-9A-Z_a-z]*|0[Xx][[:xdigit:]]+|([1-9][0-9]*)?[0-9])' | |
| wlog = log --color=always --color-words='([A-Z_a-z][0-9A-Z_a-z]*|0[Xx][[:xdigit:]]+|([1-9][0-9]*)?[0-9])' | |
| wshow = show --color=always --color-words='([A-Z_a-z][0-9A-Z_a-z]*|0[Xx][[:xdigit:]]+|([1-9][0-9]*)?[0-9])' | |
| [color "blame"] | |
| highlightRecent = red,60 month ago,brightred,48 month ago,magenta,36 month ago,brightmagenta,24 month ago,brightblue,12 month ago,cyan,1 month ago,brightcyan | |
| repeatedLines = white | |
| [diff] | |
| renameLimit = 32767 | |
| [init] | |
| defaultBranch = main | |
| [pull] | |
| ff = only | |
| [push] | |
| default = simple | |
| [tar "tar.xz"] | |
| command = pixz -c | |
| [tar "tar.zst"] | |
| command = zstd -19 -c -T0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment