From 8d8d6a58d70431cb5b5396546861db526f51ad77 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmraN_ldJplGunVGmnjjLN6jL9s9TrVMGE" Date: Mon, 22 Oct 2012 17:34:33 +0000 Subject: [PATCH] No need for mkdir, make it simpler --- doc/bare_repositories.mdwn | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/bare_repositories.mdwn b/doc/bare_repositories.mdwn index f40277d61d..d6f3f8fdc3 100644 --- a/doc/bare_repositories.mdwn +++ b/doc/bare_repositories.mdwn @@ -24,16 +24,13 @@ as non-bare repositories. Except for these caveats: Here is a quick example of how to set this up, using `origin` as the remote name, and assuming `~/annex` contains an annex: On the server: - - mkdir bare-annex - cd bare-annex - git init --bare + git init --bare bare-annex.git git annex init origin Now configure the remote and do the initial push: cd ~/annex - git remote add origin example.com:bare-annex + git remote add origin example.com:bare-annex.git git push origin master git-annex Now `git annex status` should show the configured bare remote. If it does not, you may have to pull from the remote first (older versions of `git-annex`)