2020-07-13 09:45:25 +02:00
|
|
|
[user]
|
2021-08-30 22:25:10 +02:00
|
|
|
name = Michael Grote
|
|
|
|
email = michael.grote@posteo.de
|
2020-10-12 18:56:12 +02:00
|
|
|
[credential]
|
2021-08-30 22:25:10 +02:00
|
|
|
helper = store
|
2021-05-01 17:00:18 +02:00
|
|
|
[alias]
|
2021-08-30 22:25:10 +02:00
|
|
|
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
|
2021-08-31 12:37:32 +02:00
|
|
|
c = checkout
|
2021-08-24 08:45:21 +02:00
|
|
|
d = diff
|
2021-08-30 22:25:10 +02:00
|
|
|
remote = remote -v
|
2021-10-26 12:15:48 +02:00
|
|
|
sp = stage -p
|
2021-08-30 22:25:10 +02:00
|
|
|
last = log -1 HEAD --stat
|
2021-10-26 12:15:48 +02:00
|
|
|
# Delete all local branches but master and the current one, only if they are fully merged with master.
|
|
|
|
delbranches = "!f(){\
|
|
|
|
- git branch | grep -v "master" | grep -v ^* | xargs git branch -d;\
|
2021-10-20 20:09:46 +02:00
|
|
|
}; f"
|
2021-10-26 12:15:48 +02:00
|
|
|
dellast = reset HEAD^1
|
2021-08-12 13:22:23 +02:00
|
|
|
[core]
|
2021-08-30 22:25:10 +02:00
|
|
|
editor = vim
|
|
|
|
[help]
|
|
|
|
autocorrect = 20 # https://opensource.com/article/20/11/git-aliases
|