{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates the provided reference to point to a new SHA. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."},"ref":{"type":"string","examples":["heads/feature-a"],"description":"The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation."}},"required":["owner","repo","ref"],"additionalProperties":false},"body":{"type":"object","properties":{"sha":{"type":"string","description":"The SHA1 value to set this reference to"},"force":{"type":"boolean","description":"Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to `false` will make sure you're not overwriting work.","default":false}},"required":["sha"],"examples":[{"sha":"aa218f56b14c9653891f9e74264a383fa43fefbd","force":true}]}},"required":["path","body"],"additionalProperties":false},"name":"Update a reference","id":"github.git.update-ref","example":{"path":{"owner":"octocat","repo":"hello-world","ref":"heads/feature-a"},"body":{"sha":"aa218f56b14c9653891f9e74264a383fa43fefbd","force":true}},"maxRequests":1,"summary":false}}