aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/blogc-git-receiver.1.ronn12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/blogc-git-receiver.1.ronn b/man/blogc-git-receiver.1.ronn
index 8aa8099..d5f695f 100644
--- a/man/blogc-git-receiver.1.ronn
+++ b/man/blogc-git-receiver.1.ronn
@@ -133,6 +133,18 @@ as `root`:
# su -s /bin/sh - blogc
+### Push to mirror manually
+
+If for some reason you want to push the repository of a given website to remote
+mirror, you can run its `post-receive` hook manually in the server:
+
+ # su -s /bin/sh - blogc
+ $ cd ~/repos/blogs/blogc-example.git
+ $ ./hooks/post-receive
+
+WARNING: If you push manually and your server's repository is empty, you'll clean
+your mirror repository.
+
## ENVIRONMENT VARIABLES
`blogc-git-receiver` will export an environment variable called `BLOGC_GIT_RECEIVER`