add more git
aliases (#1922)
This commit is contained in:
parent
30c8afafa2
commit
163eb1f73a
@ -107,6 +107,12 @@ alias gd="git --no-pager diff"
|
|||||||
alias git-revert="git reset --hard && git clean -df"
|
alias git-revert="git reset --hard && git clean -df"
|
||||||
alias gs="git status"
|
alias gs="git status"
|
||||||
alias whoops="git reset --hard && git clean -df"
|
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
|
# Create a new directory and enter it
|
||||||
function mkd() {
|
function mkd() {
|
||||||
|
Loading…
Reference in New Issue
Block a user