Create a new commit that resets a branch back to a specific commit SHA while preserving normal Git history.
Deprecated: Use /api/repos/{repo_name}/restore-commit instead.
Documentation Index
Fetch the complete documentation index at: https://code.storage/docs/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Send a single NDJSON metadata line describing the branch to restore and the commit SHA to restore it to.
NDJSON stream containing one metadata object.