Last Updated: February 25, 2016
·
590
· allumbra

git script to merge to dev branch

!/bin/sh

FEATUREBRANCH=git rev-parse --abbrev-ref HEAD
git checkout develop
git pull origin develop
echo "about to merge"
git merge --no-edit ${FEATURE
BRANCH}
git push origin develop
git checkout ${FEATURE_BRANCH}