git.sh 208 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 #!/bin/bash rm -fr /code/go/apigame/src/ git clone -q git@git.miso-lab.com:hermes/api-game.git /code/go/apigame/src/ if [ $? -ne 0 ];then echo "git clone error" exit 1 fi echo "git clone ok" exit 0