MCPcopy Create free account
hub / github.com/6pac/SlickGrid / gitCommit

Function gitCommit

scripts/git-utils.mjs:18–21  ·  view source on GitHub ↗
(commitMsg, { cwd, dryRun })

Source from the content-addressed store, hash-verified

16 * @returns {Promise<any>}
17 */
18export async function gitCommit(commitMsg, { cwd, dryRun }) {
19 const execArgs = ['commit', '-m', commitMsg];
20 return execAsyncPiped('git', execArgs, { cwd }, dryRun);
21}
22
23/**
24 * @param {String} commitMsg

Callers 1

release.mjsFile · 0.90

Calls 1

execAsyncPipedFunction · 0.90

Tested by

no test coverage detected