command = ((${git:location}/bin/git clone --quiet -b ${:branch} ${:repository} ${:location}) || (rm -fr ${:location} ; exit 1)) && if [ -n ${:revision} ]; then cd ${:location} && ((${git:location}/bin/git reset --quiet --hard ${:revision}) || (rm -fr ${:location} ; exit 1)) ; fi
command = ${git:location}/bin/git clone --quiet -b ${:branch} ${:repository} ${:location} && if [ -n ${:revision} ]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi
update-command = cd ${:location} && ((${git:location}/bin/git pull --quiet) || (rm -fr ${:location} ; exit 1)) && if [ -n ${:revision} ]; then cd ${:location} && ((${git:location}/bin/git reset --quiet --hard ${:revision} || (rm -fr ${:location} ; exit 1)) ; fi
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet && if [ -n ${:revision} ]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi