diff options
author | 2024-08-19 16:30:45 +0800 | |
---|---|---|
committer | 2024-08-19 16:30:45 +0800 | |
commit | d12dcbff606dd8330075ba77d73ed3cbc79d7421 (patch) | |
tree | d537e525d227008b2a5d9294337a93ad5b959d20 | |
parent | 48b85c13ddd96c11c96c66bbdc55e9935ab28042 (diff) | |
download | astro-d12dcbff606dd8330075ba77d73ed3cbc79d7421.tar.gz astro-d12dcbff606dd8330075ba77d73ed3cbc79d7421.tar.zst astro-d12dcbff606dd8330075ba77d73ed3cbc79d7421.zip |
Fix create-astro initial git commit (#11766)
-rw-r--r-- | .changeset/smart-comics-doubt.md | 5 | ||||
-rw-r--r-- | packages/create-astro/src/actions/git.ts | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.changeset/smart-comics-doubt.md b/.changeset/smart-comics-doubt.md new file mode 100644 index 000000000..0582ebd91 --- /dev/null +++ b/.changeset/smart-comics-doubt.md @@ -0,0 +1,5 @@ +--- +'create-astro': patch +--- + +Fixes initial git commit when initializing git diff --git a/packages/create-astro/src/actions/git.ts b/packages/create-astro/src/actions/git.ts index 1ecf8c542..ebedb8701 100644 --- a/packages/create-astro/src/actions/git.ts +++ b/packages/create-astro/src/actions/git.ts @@ -55,7 +55,7 @@ async function init({ cwd }: { cwd: string }) { [ 'commit', '-m', - 'Initial commit from Astro', + '"Initial commit from Astro"', '--author="houston[bot] <astrobot-houston@users.noreply.github.com>"', ], { cwd, stdio: 'ignore' }, |