diff options
-rw-r--r-- | bashrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -166,6 +166,10 @@ gitd() { gitdc() { gitd "--cached $@" } +showdiff() { + local feat=${1-HEAD} target=${2-origin/master} + diffWith "git diff $target...$feat -w -D -M --patience --find-copies-harder" +} gppdmb() { PARENT=${1:-master} git checkout $PARENT && git pull --prune && git delete-merged-branches |