2017-02-17 18:04:43 +00:00
|
|
|
# NAME
|
|
|
|
|
|
|
|
git-annex post-receive - run by git post-receive hook
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
git annex post-receive
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
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
|
2019-09-11 18:41:51 +00:00
|
|
|
for repositories that have an adjusted branch checked
|
2017-02-17 18:04:43 +00:00
|
|
|
out. The hook updates the work tree when run in such a repository,
|
|
|
|
the same as running `git-annex merge` would.
|
|
|
|
|
2024-08-06 18:18:30 +00:00
|
|
|
When a repository is configured to proxy to a special remote with
|
|
|
|
exporttree=yes, the hook handles updating the tree exported to the special
|
|
|
|
remote.
|
|
|
|
|
2021-05-10 19:00:13 +00:00
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
* The [[git-annex-common-options]](1) can be used.
|
|
|
|
|
2017-02-17 18:04:43 +00:00
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
|
|
|
[[git-annex-adjust]](1)
|
|
|
|
|
|
|
|
[[git-annex-merge]](1)
|
|
|
|
|
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|