Forget a repository
remove_repoForget a project's registration to reset how it is read, optionally deleting its cached mirror. Never touches local clones; forgetting a mirror-backed project is reversible.
Instructions
Forget a project's registration. With delete_mirror, the server-side mirror is deleted as well — but only a mirror: a registered local clone is never touched, and the request is reported as ignored. Forgetting a mirror-backed project is not permanent, since the next read registers it again and clones it again if the mirror was deleted. Forgetting a local registration is how a project goes back to being read from a mirror.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | GitLab project path, e.g. 'group/subgroup/repo'. Defaults to GITLAB_DEFAULT_PROJECT. | |
| delete_mirror | No | Also delete the cached mirror for this project. Never deletes a local clone. Defaults to false, which forgets the project and leaves the data on disk. |