dotfiles/git/.gitconfig
Frank Villaro-Dixon 7ccd818f24 change git email
Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
2022-05-30 23:53:19 +02:00

53 lines
987 B
INI

[user]
name = Frank Villaro-Dixon
email = frank@villaro-dixon.eu
signingKey = 34EB3167C1C803629833E5E40139000E88CF36E7
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = auto
[alias]
st = status
ci = commit -s
commti = commit
co = checkout
br = branch
pu = push
psuh = push
psh = push
undo-commit = reset --soft HEAD^
tag = tag -s
open = "!f() { local url=$(git remote get-url origin | tr ':' '/' | sed -e 's|///|://|' -e 's|git@|https://|' -e 's/.git$//')/$1; echo opening $url; xdg-open $url; }; f"
open-ci = !git open pipelines
open-mr = !git open merge_requests
ap = add --patch
[core]
editor = vim
excludesfile = ~/.gitignore
hooksPath = .githooks
abbrev = 12
[merge]
tool = vimdiff
[diff "odf"]
textconv = odt2txt
[push]
default = current
[credential]
helper = cache
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[init]
defaultBranch = main