docker-offlineimap/get-wiki.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
551 B
Bash
Executable File

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