add more `git` aliases (#1922)

This commit is contained in:
Atef Ben Ali 2019-01-08 08:34:18 +01:00 committed by Shao Yu-Lung (Allen)
parent 30c8afafa2
commit 163eb1f73a
1 changed files with 6 additions and 0 deletions

View File

@ -107,6 +107,12 @@ alias gd="git --no-pager diff"
alias git-revert="git reset --hard && git clean -df"
alias gs="git status"
alias whoops="git reset --hard && git clean -df"
alias glog="git log --oneline --decorate --graph"
alias gsh="git show"
alias grb="git rebase -i"
alias gbr="git branch"
alias gc="git commit"
alias gck="git checkout"
# Create a new directory and enter it
function mkd() {