Name
gx sync - Sync all configured X-Modules with external repositories.
Synopsis
gx sync [--help] [--git-dir=REPOS]
Description
Sync all configured X-Modules with external repositories.
This command copies new commits from external repositories to the parent repository and vise versa. In most cases, changes to the X-Modules in the parent repository are sent to the external repositories immediately by a pre-receive hook, so 'gx sync' in that direction is usually no-op unless the hook is for some reasons disabled or uninstalled.
It is recommended to set this command as a cron job / scheduled task, on behalf of a user, that has read and write permissions to the parent repository.
Options
- --git-dir=REPOS
-
The path to the parent Git repository, where X-Modules are installed.
Default: current directory or $GIT_DIR if specified.
- --help
-
Display this help message.