mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
add git aliases: inbound, outbound and l (long format log)
This commit is contained in:
@@ -14,6 +14,12 @@
|
|||||||
cm = checkout master
|
cm = checkout master
|
||||||
cp = cherry-pick
|
cp = cherry-pick
|
||||||
f = fetch -p
|
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
|
m = merge
|
||||||
nb = checkout -b
|
nb = checkout -b
|
||||||
p = push -u origin
|
p = push -u origin
|
||||||
|
|||||||
Reference in New Issue
Block a user