27 lines
513 B
INI
27 lines
513 B
INI
[user]
|
|
name = Johannes Loher
|
|
[core]
|
|
editor = vim
|
|
[alias]
|
|
sw = switch
|
|
re = restore
|
|
co = checkout
|
|
ci = commit
|
|
st = status
|
|
br = branch
|
|
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
|
|
bclean = "!f() { git branch --merged ${1-master} | grep -v " ${1-master}$" | xargs -r git branch -d; }; f"
|
|
[include]
|
|
path = .gitconfig.local
|
|
[rerere]
|
|
enabled = true
|
|
[pull]
|
|
ff = only
|
|
[init]
|
|
defaultBranch = main
|
|
[push]
|
|
autoSetupRemote = true
|
|
[commit]
|
|
gpgsign = true
|
|
[rebase]
|
|
autosquash = true
|