dotfiles/.gitconfig
2022-08-15 12:59:09 +02:00

21 lines
433 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
[push]
autoSetupRemote = true