blob: 659da8b81c1cf948b5d20fe60cbbeda175b0faa3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#! /bin/sh
if [ ! -d .git ]
then
echo you must run this script from the top level directory
exit 1
fi
git checkout master || exit
features=$(git branch -a | grep /origin/feature/ | sed 's;.*/origin/;;')
others="porting"
for i in $others $features
do
(git checkout $i && git pull && git merge master && git push) || break
done
git checkout master || exit
|