Waterfall/scripts/mergeUpstream.sh
2018-07-21 18:42:34 +01:00

17 lines
245 B
Bash
Executable File

#!/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