Waterfall/scripts/mergeUpstream.sh

17 lines
245 B
Bash
Raw Normal View History

2016-11-26 22:33:41 +01:00
#!/usr/bin/env bash
PS1="$"
basedir=`pwd`
function update {
cd "$basedir/$1"
git fetch && git reset --hard origin/master
cd "$basedir/$1/.."
git add $1
}
update BungeeCord
# Update submodules
git submodule update --recursive