MCPcopy Create free account
hub / github.com/conventional-changelog/commitlint / git

Function git

@commitlint/travis-cli/src/cli.ts:61–68  ·  view source on GitHub ↗
(args: string[], nodeOptions: SpawnOptions = {})

Source from the content-addressed store, hash-verified

59}
60
61async function git(args: string[], nodeOptions: SpawnOptions = {}) {
62 return x(GIT, args, {
63 nodeOptions: {
64 stdio: "inherit",
65 ...nodeOptions,
66 },
67 });
68}
69
70async function fetch({ name, url }: { name: string; url: string }) {
71 await git(["remote", "add", name, url]);

Callers 4

fetchFunction · 0.85
isCleanFunction · 0.85
logFunction · 0.85
stashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected