When used with Git, vcsync
must be invoked as post-receive
hook. For example:
$ cd repo.git/hooks $ ln -s /usr/bin/vcsync post-receive
The simplest configuration file is:
destination-root /srv/home;
The project name is obtained from the last directory component of the
current working directory (which is set by git
to the repository
being modified). The .git
suffix will be removed.