MCPcopy Create free account
hub / github.com/Tencent/teamai-cli / commitSkippingHooks

Function commitSkippingHooks

src/utils/git.ts:33–35  ·  view source on GitHub ↗
(git: SimpleGit, message: string)

Source from the content-addressed store, hash-verified

31 * `core.hooksPath` and does not change the user's ordinary `git commit`.
32 */
33export function commitSkippingHooks(git: SimpleGit, message: string) {
34 return git.commit(message, { '--no-verify': null });
35}
36
37/**
38 * Check whether localPath is a valid git repository (has a `.git` entry).

Callers 4

pushRepoBranchFunction · 0.85
ensureReportsWorktreeFunction · 0.85
commitAndPushReportsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected