mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
aliases: add gdni/gbl. use --keep with gundo
This commit is contained in:
parent
2598df0f17
commit
d96ffc16ff
4
aliases
4
aliases
@ -154,6 +154,7 @@ alias gpall="git remote | xargs -L1 git push"
|
|||||||
alias gl="git pull --rebase"
|
alias gl="git pull --rebase"
|
||||||
alias glp="gl && gp"
|
alias glp="gl && gp"
|
||||||
alias gd="git diff --patch-with-stat"
|
alias gd="git diff --patch-with-stat"
|
||||||
|
alias gdni="gd --no-index"
|
||||||
alias gds="gd --staged"
|
alias gds="gd --staged"
|
||||||
alias gsh="git show --format=fuller --patch-with-stat"
|
alias gsh="git show --format=fuller --patch-with-stat"
|
||||||
alias glg="git log --color --format=fuller --stat"
|
alias glg="git log --color --format=fuller --stat"
|
||||||
@ -161,10 +162,11 @@ alias glgp="git log --color --format=fuller --patch-with-stat"
|
|||||||
alias glog="git log --color --oneline --decorate --graph"
|
alias glog="git log --color --oneline --decorate --graph"
|
||||||
|
|
||||||
alias grst="git reset"
|
alias grst="git reset"
|
||||||
alias gundo="git reset @~1"
|
alias gundo="git reset --keep @~1"
|
||||||
alias gclean="git clean"
|
alias gclean="git clean"
|
||||||
alias gbr="git branch"
|
alias gbr="git branch"
|
||||||
alias gtg="git tag"
|
alias gtg="git tag"
|
||||||
|
alias gbl="git blame"
|
||||||
alias gr="git remote"
|
alias gr="git remote"
|
||||||
alias grv="git remote -v"
|
alias grv="git remote -v"
|
||||||
alias gra="gr add"
|
alias gra="gr add"
|
||||||
|
Loading…
Reference in New Issue
Block a user