add git aliases: inbound, outbound and l (long format log)
This commit is contained in:
parent
a3f5a15e4d
commit
b6687fe027
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue