GitThrow away changesThrow away changes POST /plugin-api/git/:hostId/repo/discard Restores tracked files and deletes untracked ones. This cannot be undone. Needs edit access. Request Responses200ok and the git output.