[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 ds = diff --staged rc = rebase --continue remote = remote -v stagep = stage -p last = log -1 HEAD --stat # Delete all local branches but master and the current one, only if they are fully merged with master. dbra = "!f(){\ git branch | grep -v "master" | grep -v ^* | xargs git branch -d;\ }; f" # Delete all local branches but master and the current one. dbraf = "!f(){\ git branch | grep -v "master" | grep -v ^* | xargs git branch -D;\ }; f" [core] editor = vim [help] autocorrect = 20 # https://opensource.com/article/20/11/git-aliases