2015-03-10 04:00:03 +01:00
|
|
|
#!/bin/zsh
|
|
|
|
|
|
|
|
if test -d website
|
|
|
|
then
|
|
|
|
echo "Directory 'website' already exists..."
|
|
|
|
exit 1
|
|
|
|
else
|
2015-03-11 11:38:56 +01:00
|
|
|
git clone https://github.com/OfflineIMAP/offlineimap.github.io.git website
|
|
|
|
cat <<EOF
|
2015-03-10 05:19:59 +01:00
|
|
|
|
2015-03-11 11:38:56 +01:00
|
|
|
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
|
2015-03-10 05:19:59 +01:00
|
|
|
$ git remote add myfork https://github.com/<username>/offlineimap.github.io.git
|
2015-03-11 11:38:56 +01:00
|
|
|
|
|
|
|
You can now push your WIPs with:
|
|
|
|
|
|
|
|
$ git push myfork <ref>:<ref>
|
2015-03-10 05:19:59 +01:00
|
|
|
EOF
|
2015-03-10 04:00:03 +01:00
|
|
|
fi
|