20741b1eb4
* Automatically convert direct mode repositories to v7 with adjusted unlocked branches and set annex.thin. * init: When run on a crippled filesystem with --version=5, will error out, since version 7 is needed for adjusted unlocked branch. * direct: This command always errors out as direct mode is no longer supported. * indirect: This command has become a deprecated noop. * proxy: This command is deprecated because it was only needed in direct mode. (But it continues to work.) Also removed mentions of direct mode throughough the documentation. I have not removed all the direct mode code yet.
32 lines
761 B
Markdown
32 lines
761 B
Markdown
# 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
|
|
for repositories that use 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.
|
|
|
|
# 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.
|