PandaCord/scripts/mergeUpstream.sh
2021-08-12 18:27:57 +02:00

17 lines
244 B
Bash

#!/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 Waterfall
# Update submodules
git submodule update --recursive