We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b447321 + cd7a063 commit 12f86d7Copy full SHA for 12f86d7
templates/cli/lib/commands/init.js.twig
@@ -81,7 +81,7 @@ const initFunction = async () => {
81
82
fs.mkdirSync(functionDir, "777");
83
84
- let gitInitCommands = "git clone --depth 1 --sparse https://github.com/{{ sdk.gitUserName }}/functions-starter ."; // depth prevents fetching older commits reducing the amount fetched
+ let gitInitCommands = "git clone -b v3 --single-branch --depth 1 --sparse https://github.com/{{ sdk.gitUserName }}/functions-starter ."; // depth prevents fetching older commits reducing the amount fetched
85
86
let gitPullCommands = `git sparse-checkout add ${answers.runtime.id}`;
87
0 commit comments