Name

gx status - List all X-Modules in the repository and their sync statuses.

Synopsis

gx status [-v] [--help] [--git-dir=REPOS] [REF] [COMMIT]

Description

List all X-Modules in the repository and their sync statuses.

This command shows X-Modules at the latest commit of the specified reference (e.g. branch or tag). By default, the reference is 'refs/heads/master'.

To list the X-Modules at a certain commit in the reference history, use the optional COMMIT argument. gx status provides the following output:

  • X-Module DIRECTORY
  • external repository URL
  • external repository ref[:subtree path]
  • external commit hash

If the --verbose option is used, additional settings are displayed:

  • merge type: merge/rebase
  • squash rule: once/never/always
  • sync type: pull/pull+push
  • paths (patterns) excluded from translation

The command should be run from within a valid bare Git repository.

Options

--git-dir=REPOS

The path to the Git repository to list modules and their statuses.

Default: current directory or $GIT_DIR if specified.

--help

Display this help message.

-v, --verbose

Print additional X-Modules' settings:

  • merge type: merge/rebase
  • squash rule: once/never/always
  • sync type: pull/pull+push
  • paths (patterns), excluded from translation

Arguments

[REF]

Reference (branch or tag) to list X-modules for.

Default: refs/heads/master

[COMMIT]

The commit to show X-modules at, if different from the reference tip.

If not specified, the X-modules for the reference tip are shown.

  • No labels