home
·
contact
·
privacy
projects
/
redo-blog
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More README fixin.
[redo-blog]
/
README.md
diff --git
a/README.md
b/README.md
index f036e86f9e6d2a31ecf48ce7866199d40a591c40..1aab3f91f4f0c029b0c7588f3bd660a9b3987966 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-46,8
+46,8
@@
called `blog`:
cat << EOF > blog.git/hooks/post-update
#!/bin/sh
BLOGDIR=~/blog
cat << EOF > blog.git/hooks/post-update
#!/bin/sh
BLOGDIR=~/blog
- GIT_WORK_TREE=$BLOGDIR git checkout -f
- cd $BLOGDIR
+ GIT_WORK_TREE=
\
$BLOGDIR git checkout -f
+ cd
\
$BLOGDIR
redo
EOF
chmod a+x blog.git/hooks/post-update
redo
EOF
chmod a+x blog.git/hooks/post-update
@@
-62,14
+62,14
@@
Enable management of `~/blog` via redo-blog:
Link to the `public` subdirectory from wherever your web server expects your
public web content to sit:
Link to the `public` subdirectory from wherever your web server expects your
public web content to sit:
- l
ink
-s ~/blog/public /var/www/html/blog
+ l
n
-s ~/blog/public /var/www/html/blog
-Client-side, do this:
+Client-side, do this
(obviously, replace server and username)
:
cd ~
git init blog
cd blog
cd ~
git init blog
cd blog
- git remote add origin ssh://user@example.org:
~
/blog.git
+ git remote add origin ssh://user@example.org:
/home/user
/blog.git
mkdir metadata
echo 'https://example.org/blog/' > metadata/url
git add metadata/url
mkdir metadata
echo 'https://example.org/blog/' > metadata/url
git add metadata/url