This commit is contained in:
Marin Marušić 2013-12-02 23:24:19 -08:00
commit 8aa7ae9fdc
5 changed files with 50 additions and 3 deletions

View file

@ -101,6 +101,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)