Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

git-annex-post-receive - Man Page

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 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-annex merge would.

Options

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

See Also

git-annex(1)

git-annex-adjust(1)

git-annex-merge(1)

Author

Joey Hess <id@joeyh.name>

Referenced By

git-annex(1).