Skip to main content

Throw away changes

POST 

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

Restores tracked files and deletes untracked ones. This cannot be undone. Needs edit access.

Request​

Responses​

ok and the git output.