Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export async function initGit(appPath: string) {
console.log(chalk.blueBright('Initializing git repository... please wait'));
const runner = new GitRunner();
await runner.run('init', true, join(process.cwd(), appPath));
await addGitIgnore(join(process.cwd(), appPath));
console.log(chalk.greenBright('Git initialization ends successfuly'));
}