1
0
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:
Joe Groocock 2020-03-21 21:15:43 +00:00
parent 2598df0f17
commit d96ffc16ff
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -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"