Add gln alias to git config
This commit is contained in:
parent
a2db048e2d
commit
6ece14f3ae
|
@ -40,6 +40,8 @@
|
||||||
[alias]
|
[alias]
|
||||||
st = status -sb
|
st = status -sb
|
||||||
stv = --paginate status -v
|
stv = --paginate status -v
|
||||||
|
stvv = --paginate status -vv
|
||||||
|
ln = !git --no-pager log --pretty=tformat:'%C(auto)%h -%d %s %Cgreen(%cr) %Cblue<%an>%Creset' -5
|
||||||
|
|
||||||
unstage = reset HEAD --
|
unstage = reset HEAD --
|
||||||
ready = rebase -i @{u}
|
ready = rebase -i @{u}
|
||||||
|
|
|
@ -10,7 +10,7 @@ alias ghead='git rev-parse --short HEAD'
|
||||||
alias gref='git reflog'
|
alias gref='git reflog'
|
||||||
|
|
||||||
# Show the 5 most recent commits without pager
|
# Show the 5 most recent commits without pager
|
||||||
alias gln='git --no-pager log --pretty=tformat:"%C(auto)%h -%d %s %Cgreen(%cr) %Cblue<%an>%Creset" -5 "$@"'
|
alias gln='git --no-pager log --pretty=tformat:"%C(auto)%h -%d %s %Cgreen(%cr) %Cblue<%an>%Creset" -5'
|
||||||
|
|
||||||
# Log local and origin commits side by side - useful to check before forcing an action
|
# Log local and origin commits side by side - useful to check before forcing an action
|
||||||
glno() {
|
glno() {
|
||||||
|
|
Loading…
Reference in New Issue