summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index be516b6..e50372d 100644
--- a/bashrc
+++ b/bashrc
@@ -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() {