Skip to main content

Reset hard

POST 

/plugin-api/git/:hostId/repo/reset

Runs git reset --hard to a ref, HEAD by default. All uncommitted changes to tracked files are lost. Needs edit access.

Request​

Responses​

ok and the git output.