experimental
hard reset branch
Changed onRelocate branch to refer to ref. Branch must not contain uncommitted data.
put/repositories/{repository}/branches/{branch}/hard_reset
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/repositories/{repository}/branches/{branch}/hard_reset
- Auth
- HTTP bearer
- or HTTP basic
- or API key in cookie internal_auth_session
Query parameters
refstring required
After reset, branch will point at this reference.
forceboolean
Response
reset successful
Changes
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info