Skip to content

feat(create): suggest initial Git commit - #2581

Open
fengmk2 wants to merge 10 commits into
mainfrom
feat/create-git-next-step
Open

feat(create): suggest initial Git commit#2581
fengmk2 wants to merge 10 commits into
mainfrom
feat/create-git-next-step

Conversation

@fengmk2

@fengmk2 fengmk2 commented Aug 30, 2026

Copy link
Copy Markdown
Member

vp create --git still initializes a Git repository without creating a commit. If Git initialization succeeds, the command prints an optional commit step.

The step uses git -C <project> for each Git operation. It does not change the shell working directory.

The command accepts target paths that contain spaces or shell metacharacters. It quotes these paths in the suggested Git and next commands.

The command omits the commit step when Git initialization does not run or fails. CLI snapshots cover spaces, shell metacharacters, and CJK parent paths.

@netlify

netlify Bot commented Aug 30, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit f3176d2
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a95950e9efbbc0008997faf

@fengmk2
fengmk2 force-pushed the feat/create-git-next-step branch from 6034223 to a71b0bb Compare August 30, 2026 15:07
@fengmk2 fengmk2 self-assigned this Aug 30, 2026
@fengmk2 fengmk2 added test: e2e Auto run e2e tests test: install-e2e run vite install e2e test test: create-e2e Run `vp create` e2e tests test: sfw labels Aug 30, 2026
@fengmk2
fengmk2 force-pushed the feat/create-git-next-step branch from 79bd497 to 0220a72 Compare August 31, 2026 03:20
@fengmk2
fengmk2 marked this pull request as ready for review August 31, 2026 14:59
@fengmk2
fengmk2 requested review from TheAlexLichter and cpojer and removed request for TheAlexLichter August 31, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test: create-e2e Run `vp create` e2e tests test: e2e Auto run e2e tests test: install-e2e run vite install e2e test test: sfw

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants