Skip to content

Commit

Permalink
update branch
Browse files Browse the repository at this point in the history
  • Loading branch information
bz888 committed Oct 9, 2023
1 parent 7440220 commit 66c1be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/controller/init-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export async function cloneProjectTemplate(
//use sparse-checkout to clone project to temp directory
await git(tempPath).init().addRemote('origin', selectedProject.remote);
await git(tempPath).raw('sparse-checkout', 'set', `${selectedProject.path}`);
await git(tempPath).raw('pull', 'origin', '7600e6cd7c275f37418b07bf854f606fb5f35796');
await git(tempPath).raw('pull', 'origin', 'main');
// Copy content to project path
copySync(path.join(tempPath, `${selectedProject.path}`), projectPath);
// Clean temp folder
Expand Down

0 comments on commit 66c1be1

Please sign in to comment.