diff options
author | http://joeyh.name/ <http://joeyh.name/@web> | 2013-10-26 19:35:47 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-10-26 19:35:47 +0000 |
commit | 2547b95e2468bd66fcf241704d39637a3c33ea0d (patch) | |
tree | 449f9ed72d224fbfb4acc8ba06abaf46661bc31c /doc | |
parent | 5fb1f657d783d80b9c41bdbc7b159ff1483c271e (diff) |
Added a comment
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/receiving_indirect_renames_on_direct_repo___63__/comment_1_f4b0a14373c75cb752597c832e296bcc._comment | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/forum/receiving_indirect_renames_on_direct_repo___63__/comment_1_f4b0a14373c75cb752597c832e296bcc._comment b/doc/forum/receiving_indirect_renames_on_direct_repo___63__/comment_1_f4b0a14373c75cb752597c832e296bcc._comment new file mode 100644 index 000000000..7b38c6af4 --- /dev/null +++ b/doc/forum/receiving_indirect_renames_on_direct_repo___63__/comment_1_f4b0a14373c75cb752597c832e296bcc._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.47" + subject="comment 1" + date="2013-10-26T19:35:46Z" + content=""" +You should **never, ever, ever** run `git pull`, or `git checkout` inside a direct repository. You need to read [[direct_mode]]. If you do not fully understand it, you should avoid running any git commands that are not `git annex foo` in a direct mode repository. If you forget and do run such git commands, you can generally recover by running `git annex fsck`, although it's possible that the git command you run overwrites your only copy of a file, and so you'd lose it. + +<pre> +To ssh://michele@home/home/michele/casa + 6c18669..8cc74a0 git-annex -> synced/git-annex + ! [rejected] master -> synced/master (non-fast-forward) +error: failed to push some refs to 'ssh://michele@home/home/michele/casa' +</pre> + +I'll bet that if you look at the `git config` of this repository it failed to push to, you'll find that it has `receive.denyNonFastforwards` set to true. If you unset that, the push should work. +"""]] |