git

Discard local changes Performs a hard reset on the current branch, discarding any local changes.

post/api/git/reset

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/git/reset
  • Auth
    none declared

Response

Reset complete

object required

Changes