MCPcopy Index your code
hub / github.com/angular/angular-cli / gitCommit

Function gitCommit

tests/e2e/utils/git.ts:15–21  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

13}
14
15export async function gitCommit(message: string): Promise<void> {
16 await git('add', '-A');
17 const { stdout } = await silentGit('status', '--porcelain');
18 if (stdout != '') {
19 await git('commit', '-am', message);
20 }
21}

Callers 1

prepareProjectForE2eFunction · 0.90

Calls 2

gitFunction · 0.90
silentGitFunction · 0.90

Tested by

no test coverage detected