[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:
parent
d6a2ee7b8a
commit
f542c418eb
3 changed files with 15 additions and 6 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue