2021-12-08 09:38:24 -06:00
|
|
|
[credential]
|
|
|
|
helper = cache
|
|
|
|
[core]
|
2022-09-29 10:18:11 -05:00
|
|
|
excludesfile = /home/{{- .chezmoi.username -}}/.config/git/ignore
|
2021-12-08 09:38:24 -06:00
|
|
|
[user]
|
2022-09-29 10:18:11 -05:00
|
|
|
name = {{ .name }}
|
|
|
|
email = {{ .email }}
|
2021-12-08 09:38:24 -06:00
|
|
|
[submodule]
|
|
|
|
recurse = true
|
|
|
|
[pull]
|
|
|
|
rebase = true
|
|
|
|
[init]
|
|
|
|
defaultBranch = main
|
|
|
|
[branch]
|
|
|
|
autosetuprebase = always
|
|
|
|
[alias]
|
2022-09-12 10:58:10 -05:00
|
|
|
root = rev-parse --show-toplevel
|
2022-12-21 14:05:57 -06:00
|
|
|
|
2021-12-08 09:38:24 -06:00
|
|
|
adog = log --all --decorate --oneline --graph
|
2022-12-21 14:07:51 -06:00
|
|
|
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold cyan)%h%C(reset) ->%C(bold yellow)%d%C(reset) %C(white)%s%C(reset) %C(green)(%ar)%C(reset) %C(dim white)- %an%C(reset)'
|
2022-07-19 09:34:49 -05:00
|
|
|
last = log -1 HEAD --stat
|
|
|
|
ll = log --oneline
|
2022-12-21 14:05:57 -06:00
|
|
|
|
2022-07-19 09:34:49 -05:00
|
|
|
st = status -sb
|
|
|
|
s = status -s
|
2022-09-13 12:53:18 -05:00
|
|
|
dd = !git diff | delta
|
|
|
|
sd = !git show | delta
|
2022-12-21 14:05:57 -06:00
|
|
|
|
2022-07-19 09:34:49 -05:00
|
|
|
co = checkout
|
|
|
|
cob = checkout -b
|
2022-12-21 14:05:57 -06:00
|
|
|
br = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate
|
|
|
|
|
|
|
|
undo = reset HEAD~1 --mixed
|
|
|
|
|
|
|
|
wip = !git add -A && git commit -m \"wip: $(date +\"%Y.%m.%d %H:%M:%S\")\"
|
2022-07-28 15:57:02 -05:00
|
|
|
cmt = !git commit -m \"time: $(date +\"%Y.%m.%d %H:%M:%S\")\"
|
|
|
|
save = !git add -A && git commit -m \"time: $(date +\"%Y.%m.%d %H:%M:%S\")\"
|
2022-12-21 14:05:57 -06:00
|
|
|
|
2022-07-19 09:34:49 -05:00
|
|
|
la = "!git config -l | grep alias | cut -c 7-"
|
2022-12-21 14:05:57 -06:00
|
|
|
gl = config --global -l
|
2022-04-29 10:37:55 -05:00
|
|
|
[filter "lfs"]
|
|
|
|
clean = git-lfs clean -- %f
|
|
|
|
smudge = git-lfs smudge -- %f
|
|
|
|
process = git-lfs filter-process
|
|
|
|
required = true
|
2022-07-19 09:34:49 -05:00
|
|
|
[help]
|
2022-09-12 10:58:10 -05:00
|
|
|
autocorrect = 20
|
|
|
|
|
|
|
|
[delta]
|
|
|
|
line-numbers = true
|
|
|
|
theme = catppuccin
|
2022-09-13 12:53:18 -05:00
|
|
|
; hunk-header-decoration-style = none
|
|
|
|
diff-so-fancy = true
|
|
|
|
hunk-header-style = bold
|