Merge pull request #183 from chernjie/master

`git-create-branch`: use HEAD instead of origin.
This commit is contained in:
hemanth.hm 2014-07-09 10:58:10 +05:30
commit 128bc2d5f8

View file

@ -3,7 +3,6 @@
branch=$1
test -z $branch && echo "branch required." 1>&2 && exit 1
git push origin origin:refs/heads/$branch
git push origin HEAD:refs/heads/$branch
git fetch origin
git checkout --track -b $branch origin/$branch
git pull