Skip to content

id ​

Get the id (SHA1) of a repository commit

Signature ​

ts
class Commit {
  id(): string;
}

Returns ​

  • string

    ID(SHA1) of a repository commit.

Released under the MIT License.