Replies: 4 comments 2 replies
-
Better to prompt a yes/no question asking if the user wants to initialise Git, imo. And not send that prompt if the user is already in a Git repository. |
Beta Was this translation helpful? Give feedback.
-
It is quite a valid suggestion. A flag will be useful when a developer doesn't intend to push code to Github. Possible flags - |
Beta Was this translation helpful? Give feedback.
-
I am going to start on the PR and hopefully one of the team members can guide me on any errors/developing the package :D |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
No response
Background
We recently had a question in the nextjs official discord regarding disabling git on setup since they didnt use git. This felt as a valid feature which is missing from the current create-next-app package. This makes nextjs much more inclusive of people/companies which don't use git.
Proposal
I went through the code of the create-next-app package and i am pretty sure that this part is what does the actual git setup.
https://github.com/vercel/next.js/blob/canary/packages/create-next-app/create-app.ts#L238
I plan on adding a flag to disable git, update that code specifically and also update the docs regarding create-next-app. If this proposal does go through i would love some tips on how to actually contribute to packages, the contributions docs dosent seem to mention running packages locally.
Beta Was this translation helpful? Give feedback.
All reactions