summaryrefslogtreecommitdiff
path: root/doc/bare_repositories.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-14 17:04:58 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-14 17:04:58 -0400
commit521ef9dfebd6a9418a5dce7d1686dbf353ddd0a0 (patch)
treeafe6bb5d52e21a049f04020ae448afb81adc02a7 /doc/bare_repositories.mdwn
parentf4b4f327b69189d24663a7db6407c1f7a6e48fdd (diff)
parent5c6f6e4d0abb9b4856908a500611044b3b7a48e6 (diff)
Merge branch 'master' into tasty-tests
Conflicts: Test.hs
Diffstat (limited to 'doc/bare_repositories.mdwn')
-rw-r--r--doc/bare_repositories.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/bare_repositories.mdwn b/doc/bare_repositories.mdwn
index 86652792b..975a638b8 100644
--- a/doc/bare_repositories.mdwn
+++ b/doc/bare_repositories.mdwn
@@ -31,7 +31,7 @@ Here is a quick example of how to set this up, using `origin` as the remote name
On the server:
git init --bare bare-annex.git
- git annex init origin
+ cd bare-annex.git && git annex init origin
Now configure the remote and do the initial push:
@@ -39,7 +39,7 @@ Now configure the remote and do the initial push:
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`)
+Now `git annex info` should show the configured bare remote. If it does not, you may have to pull from the remote first (older versions of `git-annex`)
If you wish to configure git such that you can push/pull without arguments, set the upstream branch: