n3tpunk edit

This commit is contained in:
Marin Marusic 2013-10-22 11:58:13 +02:00
commit 532b6a867a
2 changed files with 34 additions and 0 deletions

View file

@ -97,6 +97,13 @@ compdef git-svn-dcommit-push=git
alias gsr='git svn rebase'
alias gsd='git svn dcommit'
function in_git {
if $(git status > /dev/null 2>&1); then
echo 1
fi
}
#
# Will return the current branch name
# Usage example: git pull origin $(current_branch)