Fetch a repository now
sync_repoForce-fetch a GitLab project to update its cache or clone immediately, bypassing the freshness policy, to refresh manual-policy projects or check for new refs without waiting for TTL.
Instructions
Fetch a project immediately, ignoring its freshness policy — the way to refresh a project whose policy is manual, and to check for new refs without waiting for the TTL. A mirror-backed project is cloned if its mirror is missing; a project registered as a local clone is fetched from that clone's own remote. Unlike a read, a failure is reported as an error rather than answered from the cached copy, because this call exists to fetch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | GitLab project path, e.g. 'group/subgroup/repo'. Defaults to GITLAB_DEFAULT_PROJECT. |