mirror of
https://github.com/PaperMC/Waterfall.git
synced 2024-11-08 11:40:38 +01:00
16 lines
225 B
Bash
16 lines
225 B
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
|