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

Function fetch

@commitlint/travis-cli/src/cli.ts:70–73  ·  view source on GitHub ↗
({ name, url }: { name: string; url: string })

Source from the content-addressed store, hash-verified

68}
69
70async function fetch({ name, url }: { name: string; url: string }) {
71 await git(["remote", "add", name, url]);
72 await git(["fetch", name, "--quiet"]);
73}
74
75async function isClean() {
76 const result = await git(["status", "--porcelain"], {

Callers 1

mainFunction · 0.85

Calls 1

gitFunction · 0.85

Tested by

no test coverage detected