aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-06-19 02:15:47 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-06-19 02:15:47 +0200
commit3b6e15bf895d4a8c71d7147eefeb78a6c320fad8 (patch)
treed9b4c4fbba22498730b4e27717dc58cf1a3d98d4
parenta49da124c106dc893a71c75f67fc28de0d681b03 (diff)
downloadblogc-3b6e15bf895d4a8c71d7147eefeb78a6c320fad8.tar.gz
blogc-3b6e15bf895d4a8c71d7147eefeb78a6c320fad8.tar.bz2
blogc-3b6e15bf895d4a8c71d7147eefeb78a6c320fad8.zip
man: improved blogc-git-receiver mirroring setup
-rw-r--r--man/blogc-git-receiver.1.ronn3
1 files changed, 3 insertions, 0 deletions
diff --git a/man/blogc-git-receiver.1.ronn b/man/blogc-git-receiver.1.ronn
index e26ed09..dc35621 100644
--- a/man/blogc-git-receiver.1.ronn
+++ b/man/blogc-git-receiver.1.ronn
@@ -86,6 +86,9 @@ due to repositories not being mirrored.
To add the `mirror` remote:
# su -s /bin/bash - blogc
+ $ cd repos
+ $ git init --bare myblog.git # if not created yet
+ $ cd myblog.git
$ git remote add --mirror=push mirror $YOUR_GIT_MIRROR_URL
### Caveats of repository mirroring with SSH