|
@@ -37,6 +37,13 @@ if command_exists git; then
|
|
|
alias gp='git pull origin `git rev-parse --abbrev-ref HEAD`'
|
|
|
alias gdm='git diff `git bp`...HEAD'
|
|
|
|
|
|
+ if command_exists meld; then
|
|
|
+
|
|
|
+ git config --global diff.tool meld
|
|
|
+ git config --global merge.tool meld
|
|
|
+ git config --global --add difftool.prompt false
|
|
|
+ fi;
|
|
|
+
|
|
|
function git-delete-merged () {
|
|
|
n=$'\n'
|
|
|
branches=$(git branch --merged $1 | egrep -v "(^\*|master|dev)");
|