-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Feature Request: Automatically create initial commit after scaffolding a new project
Context
Our project-seed CLI currently runs git init as part of the setup process β see setup-git-hooks.ts β but it doesn't create an initial commit.
In practice, it's common to manually run:
git add .
git commit -m "chore: initial project scaffold"after scaffolding. However, this step can be easy to forget. Having the scaffolded template as its own initial commit helps maintain a clean history and makes future changes easier to review.
Proposal
After the project scaffold is generated and git init has been executed, the CLI should automatically:
- Stage all generated files (
git add .) - Create an initial commit (e.g.
git commit -m "chore: initial project scaffold" -m "bπ")
Benefits
- Keeps scaffolded code separate from later commits
- Improves clarity in code reviews and diffs
- Reduces manual setup steps and the chance of forgetting the first commit
Related
Metadata
Metadata
Assignees
Labels
No labels