sync: print a hint about receive.denyNonFastForwards when a push fails

This commit is contained in:
Joey Hess 2013-10-26 15:53:05 -04:00
parent d3fbb8acd5
commit 2af652e1b8
3 changed files with 13 additions and 10 deletions

View file

@ -1,12 +1,3 @@
## 4.20131025
Note that all past versions of the assistant, when used to create a
git repository on a ssh server, set up the repository in a way that
prevents `git annex sync` from working (although the assistant can sync
with it). To fix this misconfiguration, you can ssh to the server
and run this command inside the bare git repository:
`git config receive.denyNonFastforwards false`
## version 4.20131024
This version fixes several different bugs that could cause the webapp to

View file

@ -377,3 +377,8 @@ $
# End of transcript or log.
"""]]
> Apparently `test.git` had `receive.denyNonFastForwards`
> set to true, which prevents the forced pushing `git annex sync`
> needs to do. I have made it print out a hint about this setting
> when a push failes. [[done]] --[[Joey]]