Red Hat Training

A Red Hat training course is available for Red Hat Fuse

9.31. fabric:git-gc


instructs containers to perform git-gc command on fabric repository


fabric:git-gc [ options ] [ container ]


This command instructs containers to perform a git-gc command on their \$FUSE_HOME/data/git/local/fabric repository.
This command is only available from R13 and later.
For example, to perform git-gc on all of the containers, enter the following console command:
fabric:git-gc --all
To perform the git-gc command on a specific container, enter the following console command:
fabric:git-gc {containerName}


Table 9.31, “fabric:git-gc Arguments” describes the command's arguments.

Table 9.31. fabric:git-gc Arguments

--helpDisplays the online help for this command.
--allSends the command to all containers.
--timeoutSpecifies the timeout when waiting for responses. The default is 10000 milliseconds.
--aggressiveSets the --aggressive option for the git-gc command.