summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-10-31 16:42:49 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-10-31 16:42:49 -0400
commit8f3ec1707779886d6f24fd94724b25049b27847f (patch)
tree5eca65717d16fb2f0cfbf3e4e291e3ac69f61464
parent09f5cd3efc72044aa45d23e14c09afa76da7ea74 (diff)
comment
-rw-r--r--doc/forum/Using_git-annex/comment_1_ac386ca07e9aaf009c264f3deed83832._comment16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/forum/Using_git-annex/comment_1_ac386ca07e9aaf009c264f3deed83832._comment b/doc/forum/Using_git-annex/comment_1_ac386ca07e9aaf009c264f3deed83832._comment
new file mode 100644
index 000000000..9e0e8ff66
--- /dev/null
+++ b/doc/forum/Using_git-annex/comment_1_ac386ca07e9aaf009c264f3deed83832._comment
@@ -0,0 +1,16 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2014-10-31T20:40:18Z"
+ content="""
+git does not allow pushing into a non-bare repsitory. This is why
+bare repositories exist.
+
+You have basically 3 choices:
+
+1. Go to the first repo you made, and `git pull` from the other repo
+ into it. Pulling in this direction will work.
+2. Set up a bare repo that both the non-bare repos use.
+3. Use `git annex sync`, which avoids this problem. You need to run
+ it in both repos in order to get them to sync with one-another.
+"""]]