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

40 lines
439 B

#!/usr/bin/env bash
set -eu
synopsis() {
cat << EOF
Usage : `basename $0`
EOF
}
help() {
cat << EOF
`basename $0` effectue un git push de VDN.
`synopsis`
EOF
}
usage() {
synopsis
exit 1
}
args() {
[ $# -ne 0 ] && usage
return 0
}
# Programme principal
GUEST_OWNER=$USER
VDN_PATH=$(readlink -f $(dirname $0)/..); . $VDN_PATH/bin/functions.sh
args "$@"
git push vdn@opale.iut-clermont.uca.fr:public_html/vdn/git/vdn.git