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
|
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
|
2022-09-09 10:50:30 +02:00
|
|
|
pushbranch = ! "git push -o merge_request.create -u origin $(git rev-parse --abbrev-ref HEAD)"
|
2022-02-03 17:50:46 +01:00
|
|
|
pushu = pushbranch
|
2023-02-17 09:25:11 +01:00
|
|
|
pushf = push -f
|
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
|
2022-02-03 17:50:46 +01:00
|
|
|
[core]
|
|
|
|
editor = vim
|
2022-04-19 09:46:51 +02:00
|
|
|
attributesfile = {{ .chezmoi.homeDir }}/.gitattributes
|
2022-02-03 17:50:46 +01:00
|
|
|
autocrlf = input
|
|
|
|
[sendemail]
|
|
|
|
smtpserver = smtp.migadu.com
|
2022-02-03 17:52:35 +01:00
|
|
|
smtpuser = {{ (bitwarden "item" "Migadu email").login.username }}
|
2022-02-03 17:50:46 +01:00
|
|
|
smtpencryption = ssl
|
|
|
|
smtpserverport = 465
|
2022-02-03 17:52:35 +01:00
|
|
|
smtppass = {{ (bitwarden "item" "Migadu email").login.password | quote }}
|
2022-02-03 17:50:46 +01:00
|
|
|
confirm = auto
|
2022-04-19 09:46:51 +02:00
|
|
|
[diff]
|
|
|
|
colorMoved = default
|
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]
|
|
|
|
conflictstyle = diff3
|
2022-02-03 17:50:46 +01:00
|
|
|
[pull]
|
|
|
|
rebase = false
|
|
|
|
[init]
|
|
|
|
defaultBranch = master
|
|
|
|
[advice]
|
|
|
|
detachedHead = false
|
2023-01-30 16:57:31 +01:00
|
|
|
[includeIf "gitdir:~/Projects/gw/**"]
|
|
|
|
path = {{ .chezmoi.homeDir }}/Projects/gw/.gitconfig
|
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
|
|
|
|
|