learn how to fork the wiki

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2015-03-10 15:43:01 +01:00
parent 0b43418911
commit f4579d9660
2 changed files with 18 additions and 1 deletions

3
.gitignore vendored
View File

@ -3,8 +3,9 @@
.*.swo
*.html
*~
# website.
# websites.
/website/
/wiki/
# Generated files.
/docs/dev-doc/
/build/

16
get-wiki.sh Executable file
View File

@ -0,0 +1,16 @@
#!/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
Now, you can fork the wiki at https://github.com/OfflineIMAP/offlineimap-wiki
and add a reference to it:
$ cd wiki
$ git remote add myfork https://github.com/<username>/offlineimap-wiki.git
EOF
fi