[git] Add git last alias

Added git alias to show the contents of the last commit. Either use the
long form `git last`, or its alias `gll`.
This commit is contained in:
Marty Oehme 2020-05-28 14:01:50 +02:00
parent d6a2ee7b8a
commit f542c418eb
No known key found for this signature in database
GPG key ID: 0CCB0526EFB9611A
3 changed files with 15 additions and 6 deletions

View file

@ -28,10 +28,15 @@ alias gds='git diff --staged'
alias gi='git ignore'
alias glog='git log --stat'
# show last committed content
alias gll='git last'
# show quick log overview
alias glg='git log --oneline --decorate --graph'
alias glga='git log --oneline --decorate --graph --remotes --all'
alias glgp='git log --stat -p'
# show detailed log overview
alias glog='git log --stat'
# show detailed log overview with contents
alias gloog='git log --stat -p'
alias gf='git fetch'
alias gl='git pull'
@ -68,4 +73,3 @@ esac
alias gstp='git stash pop'
alias gstl='git stash list'
alias gstL='git stash list --stat'