GitGcTask

Cleanup unnecessary files and optimize the local repository.

Table 78. Attributes

Name Type Description Default Required
gitPath String Path to Git binary /usr/bin/git No
repository String The repository to cleanup. n/a Yes
aggressive Boolean This option will cause git gc to more aggressively optimize the repository at the expense of taking much more time. See --aggressive option of git-gc. false No
auto Boolean With this option, git gc checks whether any housekeeping is required; if not, it exits without performing any work. See --auto option of git-gc. false No
noprune Boolean Do not prune any loose objects. See --no-prune option of git-gc. false No
prune String Prune loose objects older than date. See --prune option of git-gc. 2.weeks.ago No