Waterfall/scripts/mergeUpstream.sh

17 lines
244 B
Bash
Raw Normal View History

2018-11-11 10:47:01 +01:00
#!/usr/bin/env bash
2017-01-15 18:05:31 +01:00
PS1="$"
basedir=`pwd`
function update {
cd "$basedir/$1"
git fetch && git reset --hard origin/master
cd "$basedir/$1/.."
git add $1
}
update Waterfall
# Update submodules
git submodule update --recursive