From d96ffc16ff6a5f19c947aea0a8e1368bb3909164 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sat, 21 Mar 2020 21:15:43 +0000 Subject: [PATCH] aliases: add gdni/gbl. use --keep with gundo --- aliases | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aliases b/aliases index 209a3e3..9f9f247 100644 --- a/aliases +++ b/aliases @@ -154,6 +154,7 @@ alias gpall="git remote | xargs -L1 git push" alias gl="git pull --rebase" alias glp="gl && gp" alias gd="git diff --patch-with-stat" +alias gdni="gd --no-index" alias gds="gd --staged" alias gsh="git show --format=fuller --patch-with-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 grst="git reset" -alias gundo="git reset @~1" +alias gundo="git reset --keep @~1" alias gclean="git clean" alias gbr="git branch" alias gtg="git tag" +alias gbl="git blame" alias gr="git remote" alias grv="git remote -v" alias gra="gr add"