16 lines
224 B
Bash
Executable File
16 lines
224 B
Bash
Executable File
|
|
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
|