server/s/pull

6 lines
85 B
Bash
Executable File

#!/bin/sh
if [ ! -z $1 ]; then
git checkout $1
fi
git pull && git submodule update