mirror of
https://github.com/PaperMC/Waterfall.git
synced 2024-12-26 02:27:57 +01:00
339460b7c3
Also, grab upstreamCommit
17 lines
244 B
Bash
Executable File
17 lines
244 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 Waterfall
|
|
|
|
# Update submodules
|
|
git submodule update --recursive
|