summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/smart-comics-doubt.md5
-rw-r--r--packages/create-astro/src/actions/git.ts2
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' },