table of contents
other versions
- testing 7.20190129-3
- stretch-backports 7.20190129-2~bpo9+1
- unstable 7.20190129-3
git-annex-post-receive(1) | General Commands Manual | git-annex-post-receive(1) |
NAME¶
git-annex-post-receive - run by git post-receive hookSYNOPSIS¶
git annex post-receiveDESCRIPTION¶
This is meant to be called from git's post-receive hook. git annex init automatically creates a post-receive hook using this.When a repository is configured with receive.denyCurrentBranch=updateInstead, pushes to the repository update its work tree. However, that does not work for repositories that use direct mode or have an adjusted branch checked out. The hook updates the work tree when run in such a repository, the same as running git-annex merge would.