Skip to content

feat(cli): Initialize a git repository and create an initial commit on scaffold#1484

Open
ryohidaka wants to merge 2 commits intovoidzero-dev:mainfrom
ryohidaka:issue/1483-init-git
Open

feat(cli): Initialize a git repository and create an initial commit on scaffold#1484
ryohidaka wants to merge 2 commits intovoidzero-dev:mainfrom
ryohidaka:issue/1483-init-git

Conversation

@ryohidaka
Copy link
Copy Markdown

@ryohidaka ryohidaka commented Apr 27, 2026

Summary

Add a --git / --no-git flag to vp create.

  • In interactive mode, prompt the user with a confirm dialog (default: No)
  • In non-interactive mode, default to skipping git initialization
  • When enabled, run git init before installing dependencies,
    then git add -A && git commit -m "Initial commit from Vite+" after formatting completes

Testing

  • Execute snap-tests-global
  • Launch locally with bootstrap-cli and confirm that it works

Closes #1483

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 27, 2026

Deploy Preview for viteplus-preview ready!

Name Link
🔨 Latest commit 5daa636
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69f07f47a5173500084dd58e
😎 Deploy Preview https://deploy-preview-1484--viteplus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ryohidaka ryohidaka force-pushed the issue/1483-init-git branch 6 times, most recently from b071bdc to 8e9fafd Compare April 28, 2026 05:42
@ryohidaka ryohidaka force-pushed the issue/1483-init-git branch from 8e9fafd to 5daa636 Compare April 28, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: Initialize a git repository and create an initial commit on scaffold

1 participant