Skip to main content

Update a catalog from its repository

POST 

/api/pull_catalog/:local_name

Fetches the tracked ref, validates the incoming commit, and only then moves the checkout onto it.

The order is what makes a failed update safe: apply_catalog_fetch hard-resets the working tree, so validating after it had run would mean the rejected content had already replaced what was there.

Request

Responses

Successful Response