From f1ef94fd051ca288496691f247521fbb66650cf8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 31 Oct 2014 16:42:49 -0400 Subject: [PATCH] comment --- ...t_1_ac386ca07e9aaf009c264f3deed83832._comment | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/forum/Using_git-annex/comment_1_ac386ca07e9aaf009c264f3deed83832._comment 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 0000000000..9e0e8ff665 --- /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. +"""]]