dotfiles/.gitconfig
2023-07-17 23:53:43 +02:00

25 lines
486 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
[commit]
gpgsign = true
[rebase]
autosquash = true