From f4579d966047c6e72400518c7c7006190b6919cc Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Tue, 10 Mar 2015 15:43:01 +0100 Subject: [PATCH] learn how to fork the wiki Signed-off-by: Nicolas Sebrecht --- .gitignore | 3 ++- get-wiki.sh | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100755 get-wiki.sh diff --git a/.gitignore b/.gitignore index cecdf30..f118931 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,9 @@ .*.swo *.html *~ -# website. +# websites. /website/ +/wiki/ # Generated files. /docs/dev-doc/ /build/ diff --git a/get-wiki.sh b/get-wiki.sh new file mode 100755 index 0000000..92d48de --- /dev/null +++ b/get-wiki.sh @@ -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 </offlineimap-wiki.git +EOF +fi