dotfiles/.gitconfig
2022-07-18 17:37:10 +02:00

19 lines
402 B
INI

[user]
name = Johannes Loher
[core]
editor = vim
[alias]
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