dotfiles/.gitconfig

22 lines
433 B
INI
Raw Normal View History

2020-09-14 10:18:35 +02:00
[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"
2020-09-14 10:27:04 +02:00
[include]
path = .gitconfig.local
2020-09-25 11:08:12 +02:00
[rerere]
enabled = true
2020-11-25 10:28:54 +01:00
[pull]
ff = only
2022-07-18 17:37:10 +02:00
[init]
defaultBranch = main
2022-08-15 12:59:09 +02:00
[push]
autoSetupRemote = true