Merge pull request #263 from Yitsushi/bug/180-does-not-check-out-branch-if-it-already-exists

fix #180 and #232 feature|bug|refactor checkout.
This commit is contained in:
hemanth.hm 2014-10-07 17:27:55 +05:30
commit daf0c0c048
3 changed files with 3 additions and 0 deletions

View file

@ -11,4 +11,5 @@ else
fi
branch=bug/$1
git checkout -b $branch &> /dev/null
test -n $? && git checkout $branch &> /dev/null
fi

View file

@ -11,4 +11,5 @@ else
fi
branch=feature/$1
git checkout -b $branch &> /dev/null
test -n $? && git checkout $branch &> /dev/null
fi

View file

@ -12,4 +12,5 @@ else
fi
branch=refactor/$1
git checkout -b $branch &> /dev/null
test -n $? && git checkout $branch &> /dev/null
fi