2022-02-03 17:50:46 +01:00
|
|
|
[user]
|
|
|
|
name = Gabriel Augendre
|
|
|
|
email = gabriel@augendre.info
|
|
|
|
[color]
|
|
|
|
ui = true
|
|
|
|
status = auto
|
|
|
|
branch = auto
|
|
|
|
diff = auto
|
|
|
|
interactive = auto
|
|
|
|
[push]
|
|
|
|
default = simple
|
2022-11-02 12:54:34 +01:00
|
|
|
autoSetupRemote = true
|
2024-02-18 02:08:02 +01:00
|
|
|
followtags = true
|
2022-10-30 16:53:12 +01:00
|
|
|
[help]
|
|
|
|
autocorrect = immediate
|
2023-02-04 16:38:07 +01:00
|
|
|
{{- if hasKey . "proxy" }}
|
2023-02-02 12:21:50 +01:00
|
|
|
[http]
|
|
|
|
proxy = {{ .proxy.protocol }}://{{ .proxy.address }}:{{ .proxy.port }}
|
|
|
|
[https]
|
|
|
|
proxy = {{ .proxy.protocol }}://{{ .proxy.address }}:{{ .proxy.port }}
|
2023-02-04 16:38:07 +01:00
|
|
|
{{- end }}
|
2022-02-03 17:50:46 +01:00
|
|
|
[alias]
|
|
|
|
ci = commit
|
|
|
|
cp = cherry-pick
|
|
|
|
co = checkout
|
|
|
|
cob = switch -c
|
|
|
|
br = branch
|
|
|
|
pul = pull
|
|
|
|
pus = push
|
|
|
|
fe = fetch
|
|
|
|
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
|
|
|
|
lol = log --graph --decorate --pretty=oneline --abbrev-commit
|
|
|
|
gl = log --graph --pretty=format:'%C(auto)%h %C(bold blue)<%an>%Creset%C(auto) (%G?) %d %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
|
|
|
|
wtf = log --pretty=tformat:\"%C(auto,yellow)%h%C(auto)%d%C(auto,reset) by %C(auto,blue)%cn%C(auto,reset), %C(auto,cyan)%ar%C(auto,reset)%n %s%n\" --stat
|
|
|
|
s = status -sb
|
|
|
|
ign = ! "curl -L -s https://www.gitignore.io/api/$@"
|
|
|
|
syn = ! "git pull --rebase && git push"
|
|
|
|
gone = ! "git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D"
|
|
|
|
praise = blame
|
2024-02-06 18:19:55 +01:00
|
|
|
pushf = push --force-with-lease --force-if-includes
|
2022-02-09 09:23:20 +01:00
|
|
|
cobf = ! "f() { git branch -D $1 && git switch -c $1; }; f"
|
2022-02-03 17:50:46 +01:00
|
|
|
sw = switch
|
|
|
|
swc = switch
|
|
|
|
balance = blame
|
|
|
|
tagam = ! "f() { git tag -a $1 -m \"$1\"; }; f"
|
|
|
|
pushtag = push --follow-tags
|
2022-09-09 10:50:30 +02:00
|
|
|
pushnoci = push -o ci.skip
|
2023-03-20 15:23:19 +01:00
|
|
|
diffs = diff --staged
|
2024-01-26 09:00:16 +01:00
|
|
|
restores = restore --staged
|
2024-11-18 10:37:43 +01:00
|
|
|
rmtag = ! "f() { git tag --delete $1; git push --delete origin $1; }; f"
|
2024-02-18 02:08:02 +01:00
|
|
|
[commit]
|
|
|
|
verbose = true
|
|
|
|
[rerere]
|
|
|
|
enabled = true
|
2022-02-03 17:50:46 +01:00
|
|
|
[core]
|
2024-02-18 02:08:02 +01:00
|
|
|
editor = nvim
|
2024-05-14 12:34:44 +02:00
|
|
|
attributesfile = {{ .chezmoi.homeDir }}/.config/git/attributes
|
2022-02-03 17:50:46 +01:00
|
|
|
autocrlf = input
|
2024-02-18 02:08:02 +01:00
|
|
|
[submodule]
|
|
|
|
recurse = true
|
|
|
|
[fetch]
|
|
|
|
prune = true
|
|
|
|
prunetags = true
|
|
|
|
[log]
|
|
|
|
date = iso
|
|
|
|
[status]
|
|
|
|
submoduleSummary = true
|
2022-04-19 09:46:51 +02:00
|
|
|
[diff]
|
|
|
|
colorMoved = default
|
2024-01-19 09:01:20 +01:00
|
|
|
algorithm = histogram
|
2024-02-18 02:08:02 +01:00
|
|
|
submodule = log
|
|
|
|
tool = nvimdiff
|
2022-02-03 17:50:46 +01:00
|
|
|
[diff "color"]
|
|
|
|
textconv=pygmentize
|
|
|
|
[diff "pandoc2md"]
|
|
|
|
textconv=pandoc --to=mardown
|
|
|
|
[diff "pdfconv"]
|
|
|
|
textconv=pdftohtml -stdout
|
|
|
|
[diff "exif"]
|
|
|
|
textconv=exiftool
|
|
|
|
[diff "ziplist"]
|
|
|
|
textconv=unzip -l
|
2022-04-19 09:46:51 +02:00
|
|
|
[merge]
|
2024-02-18 02:08:02 +01:00
|
|
|
conflictstyle = zdiff3
|
|
|
|
tool = nvimdiff
|
2022-02-03 17:50:46 +01:00
|
|
|
[pull]
|
2024-02-04 00:01:06 +01:00
|
|
|
rebase = true
|
2024-02-18 02:08:02 +01:00
|
|
|
[rebase]
|
|
|
|
autosquash = true
|
|
|
|
autostash = true
|
2024-02-18 02:11:57 +01:00
|
|
|
updateRefs = true
|
2022-02-03 17:50:46 +01:00
|
|
|
[init]
|
|
|
|
defaultBranch = master
|
2024-02-18 02:08:02 +01:00
|
|
|
[branch]
|
|
|
|
sort = -committerdate
|
2022-02-03 17:50:46 +01:00
|
|
|
[advice]
|
|
|
|
detachedHead = false
|
2022-10-05 19:51:17 +02:00
|
|
|
[filter "lfs"]
|
2023-02-04 16:38:07 +01:00
|
|
|
clean = git-lfs clean -- %f
|
|
|
|
smudge = git-lfs smudge -- %f
|
|
|
|
process = git-lfs filter-process
|
|
|
|
required = true
|
2022-10-06 15:12:28 +02:00
|
|
|
[checkout]
|
2023-02-04 16:38:07 +01:00
|
|
|
defaultRemote = origin
|
2022-10-05 19:51:17 +02:00
|
|
|
|
2022-11-19 16:39:35 +01:00
|
|
|
[tag]
|
2023-02-04 16:38:07 +01:00
|
|
|
sort = version:refname
|
|
|
|
|
2024-02-18 02:08:02 +01:00
|
|
|
[url "git@github.com:"]
|
|
|
|
insteadOf = "https://github.com/"
|
|
|
|
insteadOf = "gh:"
|
|
|
|
|
|
|
|
[credential]
|
|
|
|
helper = osxkeychain
|
|
|
|
|
2023-04-05 10:28:40 +02:00
|
|
|
[include]
|
2024-11-19 17:16:20 +01:00
|
|
|
path = host.config
|
2024-02-18 14:35:20 +01:00
|
|
|
path = sendemail
|
|
|
|
|