logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

git-annex-post-receive - run by git post-receive hook

Author

       Joey Hess <id@joeyh.name>

                                                                                       git-annex-post-receive(1)

Description

       This  is  meant  to  be  called  from  git's  post-receive  hook.  gitannexinit 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 have an adjusted branch checked
       out. The hook updates the work tree when run in such a repository, the same as  running  git-annexmerge
       would.

       When  a  repository  is  configured  to proxy to a special remote with exporttree=yes, and the configured
       remote.name.annex-tracking-branch is received, the hook handles updating the tree exported to the special
       remote.

Name

       git-annex-post-receive - run by git post-receive hook

Options

       The git-annex-common-options(1) can be used.

See Also

git-annex(1)

       git-annex-adjust(1)

       git-annex-merge(1)

       git-annex-export(1)

Synopsis

       git annex post-receive

See Also