get-website/wiki.sh: improve scripts and messages
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
6d72fd74af
commit
fcd22a201f
@ -5,12 +5,19 @@ then
|
|||||||
echo "Directory 'website' already exists..."
|
echo "Directory 'website' already exists..."
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
git clone https://github.com/OfflineIMAP/offlineimap.github.io.git
|
git clone https://github.com/OfflineIMAP/offlineimap.github.io.git website
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Now, you can fork the website at https://github.com/OfflineIMAP/offlineimap.github.io
|
|
||||||
and add a reference to it:
|
|
||||||
|
|
||||||
$ cd website
|
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
|
$ 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
|
EOF
|
||||||
fi
|
fi
|
||||||
|
13
get-wiki.sh
13
get-wiki.sh
@ -7,10 +7,17 @@ then
|
|||||||
else
|
else
|
||||||
git clone https://github.com/OfflineIMAP/offlineimap.wiki.git wiki
|
git clone https://github.com/OfflineIMAP/offlineimap.wiki.git wiki
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Now, you can fork the wiki at https://github.com/OfflineIMAP/offlineimap-wiki
|
|
||||||
and add a reference to it:
|
|
||||||
|
|
||||||
$ cd wiki
|
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
|
$ git remote add myfork https://github.com/<username>/offlineimap-wiki.git
|
||||||
|
|
||||||
|
You can now push your WIPs with:
|
||||||
|
|
||||||
|
$ git push myfork <ref>:<ref>
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user