diff --git a/.config/git/config b/.config/git/config index f87e727..3e7b84c 100644 --- a/.config/git/config +++ b/.config/git/config @@ -40,6 +40,8 @@ [alias] st = status -sb 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 -- ready = rebase -i @{u} diff --git a/.config/shell/git b/.config/shell/git index becfc64..7b3ff97 100644 --- a/.config/shell/git +++ b/.config/shell/git @@ -10,7 +10,7 @@ alias ghead='git rev-parse --short HEAD' alias gref='git reflog' # 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 glno() {