dotfiles/.gitconfig

28 lines
513 B
INI
Raw Normal View History

2020-09-14 10:18:35 +02:00
[user]
name = Johannes Loher
[core]
editor = vim
[alias]
2024-09-09 16:29:51 +02:00
sw = switch
re = restore
2020-09-14 10:18:35 +02:00
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
2023-07-17 23:53:43 +02:00
[commit]
gpgsign = true
[rebase]
autosquash = true