Commit Sha generator

Generates a random commit sha.

git.commitSha

Generator settings

Generate data to see results here.

Parameters & Example

Generates a random commit sha.

git.commitSha(options?: { length? })
options
Options for the commit sha.
options.length
The length of the commit sha. Defaults to 40.

Example

"e2d1e97c33ba9cfe6e8af666db6e02c8aa1ca4ca"

Use synthetic data in a test environment.

Related generators

Explore scenarios