142 lines
3.9 KiB
INI
142 lines
3.9 KiB
INI
[advice]
|
|
skippedCherryPicks = false
|
|
[alias]
|
|
a = add
|
|
amc = "!xclip -out -selection clipboard | git am $@"
|
|
branches = branch -r --sort='-authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)'
|
|
ca = commit -a
|
|
cam = commit -am
|
|
c = commit
|
|
cpa = cherry-pick --abort
|
|
cpc = cherry-pick --continue
|
|
cp = cherry-pick --signoff
|
|
dc = diff --cached
|
|
dcs = diff --stat --cached
|
|
d = diff
|
|
dsc = diff --stat --cached
|
|
ds = diff --stat
|
|
expire-reflog = "!git reflog expire --expire=\"$(date)\" --all"
|
|
export = archive --format zip --output
|
|
fix = ca --fixup
|
|
ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ >> .gitignore ;}; gi"
|
|
kang = commit --amend --reset-author
|
|
loa = log --oneline --author='Harsh Shandilya'
|
|
loc = log --oneline --committer='Harsh Shandilya'
|
|
lof = log --format=fixes
|
|
lo = log --oneline
|
|
los = log --oneline --stat
|
|
lst = ls-tree --full-tree -r HEAD
|
|
pf = push --force-with-lease
|
|
publish = "!git push origin --set-upstream $(git rev-parse --abbrev-ref HEAD)"
|
|
rc = rebase --continue
|
|
reword = "!EDITOR='sed -i -re s/^pick/e/' sh -c 'git rebase -i $1 && while test -f .git/rebase-merge/interactive; do git commit --amend && git rebase --continue;done' -"
|
|
ru = remote update --prune
|
|
rv = remote -v
|
|
squash = rebase -i --autosquash
|
|
ss = show --stat
|
|
s = status
|
|
suicide = reset --hard
|
|
su = submodule update --init --recursive
|
|
sw = "!git switch $(git branch | fzf | tr -d '*[:space:]')"
|
|
[color "diff-highlight"]
|
|
oldNormal = red bold
|
|
oldHighlight = red bold 52
|
|
newNormal = green bold
|
|
newHighlight = green bold 22
|
|
[color "diff"]
|
|
meta = yellow
|
|
frag = magenta bold
|
|
commit = yellow bold
|
|
old = red bold
|
|
new = green bold
|
|
whitespace = red reverse
|
|
[color]
|
|
ui = true
|
|
[core]
|
|
abbrev = 12
|
|
[credential]
|
|
helper = cache --timeout=3000
|
|
# https://github.com/dandavison/delta/blob/master/themes.gitconfig
|
|
[delta "woolly-mammoth"]
|
|
# author: https://github.com/Kr1ss-XD
|
|
commit-decoration-style = 232 130 box
|
|
commit-style = 232 bold italic 130
|
|
dark = true
|
|
file-added-label = [+]
|
|
file-copied-label = [C]
|
|
file-decoration-style = "#606018" overline
|
|
file-modified-label = [M]
|
|
file-removed-label = [-]
|
|
file-renamed-label = [R]
|
|
file-style = 232 bold 184
|
|
hunk-header-decoration-style = none
|
|
hunk-header-style = syntax bold italic 237
|
|
line-numbers = true
|
|
line-numbers-left-format = "{nm:>1}┊"
|
|
line-numbers-left-style = red
|
|
line-numbers-minus-style = red italic black
|
|
line-numbers-plus-style = green italic black
|
|
line-numbers-right-format = "{np:>1}┊"
|
|
line-numbers-right-style = green
|
|
line-numbers-zero-style = "#545474" italic
|
|
minus-emph-style = syntax bold "#780000"
|
|
minus-style = syntax "#400000"
|
|
plus-emph-style = syntax bold "#007800"
|
|
plus-style = syntax "#004000"
|
|
syntax-theme = zenburn
|
|
whitespace-error-style = "#280050" reverse
|
|
zero-style = syntax
|
|
blame-format = "{author:<18} ({commit:>7}) ┊{timestamp:^16}┊ "
|
|
blame-palette = "#101010 #200020 #002800 #000028 #202000 #280000 #002020 #002800 #202020"
|
|
[delta]
|
|
navigate = true
|
|
features = woolly-mammoth
|
|
[diff]
|
|
colorMoved = default
|
|
[diff "gpg"]
|
|
textconv = gpg --no-tty --decrypt -q
|
|
[fetch]
|
|
showForcedUpdates = true
|
|
[gc]
|
|
auto = 0
|
|
[http]
|
|
postBuffer = 524288000
|
|
[init]
|
|
defaultBranch = main
|
|
[interactive]
|
|
diffFilter = delta --color-only
|
|
[log]
|
|
follow = true
|
|
[maintenance]
|
|
repo = /home/msfjarvis/git-repos/nixpkgs/src
|
|
[maintenance "commit-graph"]
|
|
enable = true
|
|
[maintenance "gc"]
|
|
enable = true
|
|
[maintenance "incremental-repack"]
|
|
enable = true
|
|
[maintenance "loose-objects"]
|
|
enable = true
|
|
[maintenance "pack-refs"]
|
|
enable = true
|
|
[maintenance "prefetch"]
|
|
enable = true
|
|
[merge]
|
|
conflictstyle = diff3
|
|
log = true
|
|
[pager]
|
|
diff = delta
|
|
show = delta
|
|
[pretty]
|
|
fixes = Fixes: %h (\"%s\")
|
|
[pull]
|
|
rebase = true
|
|
[push]
|
|
autoSetupRemote = true
|
|
default = simple
|
|
[rerere]
|
|
enabled = true
|
|
[user]
|
|
email = me@msfjarvis.dev
|
|
name = Harsh Shandilya
|