gitRevParse
gitRevParse(
rev,options?):Promise<string>
Defined in: rev-parse.ts:12
Resolves rev (e.g. "HEAD", a branch name, or a short SHA) to its full
commit SHA at options.execOptions.cwd.
Parameters
Section titled “Parameters”string
options?
Section titled “options?”Returns
Section titled “Returns”Promise<string>
Throws
Section titled “Throws”When rev cannot be resolved.