docker-offlineimap/get-website.sh
Nicolas Sebrecht fcd22a201f get-website/wiki.sh: improve scripts and messages
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2015-03-11 11:38:56 +01:00

24 lines
590 B
Bash
Executable File

#!/bin/zsh
if test -d website
then
echo "Directory 'website' already exists..."
exit 1
else
git clone https://github.com/OfflineIMAP/offlineimap.github.io.git website
cat <<EOF
The website stands in the './website' directory.
If you want to to pull requests, fork the website at Github from https://github.com/OfflineIMAP/offlineimap.github.io
Next, learn your local copy of the website that you have a fork:
$ cd ./website
$ git remote add myfork https://github.com/<username>/offlineimap.github.io.git
You can now push your WIPs with:
$ git push myfork <ref>:<ref>
EOF
fi