mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-24 15:38:06 +01:00
119 lines
2.9 KiB
Cheetah
119 lines
2.9 KiB
Cheetah
[user]
|
|
name = Gabriel Augendre
|
|
email = gabriel@augendre.info
|
|
[color]
|
|
ui = true
|
|
status = auto
|
|
branch = auto
|
|
diff = auto
|
|
interactive = auto
|
|
[push]
|
|
default = simple
|
|
autoSetupRemote = true
|
|
followtags = true
|
|
[help]
|
|
autocorrect = immediate
|
|
{{- if hasKey . "proxy" }}
|
|
[http]
|
|
proxy = {{ .proxy.protocol }}://{{ .proxy.address }}:{{ .proxy.port }}
|
|
[https]
|
|
proxy = {{ .proxy.protocol }}://{{ .proxy.address }}:{{ .proxy.port }}
|
|
{{- end }}
|
|
[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
|
|
pushf = push --force-with-lease --force-if-includes
|
|
cobf = ! "f() { git branch -D $1 && git switch -c $1; }; f"
|
|
sw = switch
|
|
swc = switch
|
|
balance = blame
|
|
tagam = ! "f() { git tag -a $1 -m \"$1\"; }; f"
|
|
pushtag = push --follow-tags
|
|
pushnoci = push -o ci.skip
|
|
diffs = diff --staged
|
|
restores = restore --staged
|
|
rmtag = ! "f() { git tag --delete $1; git push --delete origin $1; }; f"
|
|
[commit]
|
|
verbose = true
|
|
[rerere]
|
|
enabled = true
|
|
[core]
|
|
editor = nvim
|
|
attributesfile = {{ .chezmoi.homeDir }}/.config/git/attributes
|
|
autocrlf = input
|
|
[submodule]
|
|
recurse = true
|
|
[fetch]
|
|
prune = true
|
|
prunetags = true
|
|
[log]
|
|
date = iso
|
|
[status]
|
|
submoduleSummary = true
|
|
[diff]
|
|
colorMoved = default
|
|
algorithm = histogram
|
|
submodule = log
|
|
tool = nvimdiff
|
|
[diff "color"]
|
|
textconv=pygmentize
|
|
[diff "pandoc2md"]
|
|
textconv=pandoc --to=mardown
|
|
[diff "pdfconv"]
|
|
textconv=pdftohtml -stdout
|
|
[diff "exif"]
|
|
textconv=exiftool
|
|
[diff "ziplist"]
|
|
textconv=unzip -l
|
|
[merge]
|
|
conflictstyle = zdiff3
|
|
tool = nvimdiff
|
|
[pull]
|
|
rebase = true
|
|
[rebase]
|
|
autosquash = true
|
|
autostash = true
|
|
updateRefs = true
|
|
[init]
|
|
defaultBranch = master
|
|
[branch]
|
|
sort = -committerdate
|
|
[advice]
|
|
detachedHead = false
|
|
[filter "lfs"]
|
|
clean = git-lfs clean -- %f
|
|
smudge = git-lfs smudge -- %f
|
|
process = git-lfs filter-process
|
|
required = true
|
|
[checkout]
|
|
defaultRemote = origin
|
|
|
|
[tag]
|
|
sort = version:refname
|
|
|
|
[url "git@github.com:"]
|
|
insteadOf = "https://github.com/"
|
|
insteadOf = "gh:"
|
|
|
|
[credential]
|
|
helper = osxkeychain
|
|
|
|
[include]
|
|
path = host.config
|
|
path = sendemail
|
|
|