dotfiles/.gitconfig
2021-10-26 12:52:43 +02:00

18 lines
487 B
INI

[user]
name = Michael Grote
email = michael.grote@posteo.de
[credential]
helper = store
[alias]
logs = log --all --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
cm = commit -m
c = checkout
d = diff
remote = remote -v
sp = stage -p
last = log -1 HEAD --stat
dellast = reset HEAD^1
[core]
editor = vim
[help]
autocorrect = 20 # https://opensource.com/article/20/11/git-aliases