MCPcopy
hub / github.com/obytes/react-native-template-obytes / initGit

Function initGit

cli/setup-project.js:6–8  ·  view source on GitHub ↗
(projectName)

Source from the content-addressed store, hash-verified

4const path = require('path');
5
6const initGit = async (projectName) => {
7 await execShellCommand(`cd ${projectName} && git init && cd ..`);
8};
9
10const installDeps = async (projectName) => {
11 await runCommand(`cd ${projectName} && pnpm install`, {

Callers 1

setupProjectFunction · 0.85

Calls 1

execShellCommandFunction · 0.85

Tested by

no test coverage detected