You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Comrad/bin/komrade-update

11 lines
197 B
Plaintext

SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
wd=`pwd`
path=`realpath "$SCRIPTPATH/.."`
cd $path
git pull
git add .
git commit -m 'comrad update!'
git push
cd $wd