diff options
-rw-r--r-- | bashrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -65,6 +65,10 @@ gitd() { gitdc() { diffWith "git diff --cached --no-prefix --relative -b -M $@" } +gppdmb() { + PARENT=${1:-master} + git checkout $PARENT && git pull --prune && git delete-merged-branches +} alias gst='git status' # Hg hgd() { |