documentation updates for new receive.denyCurrentBranch=updateInstead support

This commit was sponsored by andrea rota.
This commit is contained in:
Joey Hess 2017-02-17 15:43:16 -04:00
parent e6857e75a6
commit a700fdf5cf
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
9 changed files with 59 additions and 45 deletions

View file

@ -7,4 +7,8 @@
This is not something the assistant really handles yet. The issue is that if you have a non-bare repository on the USB drive, something has to run `git annex sync` in it when changes are pushed to it, to update it to display the files that are in the repository.
One way to do this is to set up a non-bare repository by hand and add a git post-receive hook that runs `git annex sync`
Update: Another way, recently added is
<https://git-annex.branchable.com/making_a_remote_repo_update_when_changes_are_pushed_to_it/>
This new approach even supports FAT filesystems!
"""]]