add git aliases: inbound, outbound and l (long format log)

This commit is contained in:
Yax 2022-01-27 17:35:15 +01:00
parent a3f5a15e4d
commit b6687fe027

View file

@ -14,6 +14,12 @@
cm = checkout master
cp = cherry-pick
f = fetch -p
# Show incoming changes with upstream.
inbound = !git remote update --prune; git log ..@{upstream}
# Show outgoing changes with upstream.
outbound = log @{upstream}..
# log long format
l = log --graph --topo-order --date=short --abbrev-commit --decorate --all --boundary --pretty=format:'%Cgreen%ad %Cred%h%Creset -%C(yellow)%d%Creset %s %Cblue[%cn]%Creset %Cblue%G?%Creset'
m = merge
nb = checkout -b
p = push -u origin