davtelepot/merge_and_push.sh

10 lines
227 B
Bash

#!/bin/bash
# Merge develop into master and push both branches; checkout to develop at the end.
git checkout master;
git merge develop;
git checkout develop;
git push origin master develop;
git push bitbucket master develop;