Skip to content

Remove default git init #11442

Closed
Closed
@SimeonAleksov

Description

@SimeonAleksov

Is your proposal related to a problem?

Sort of, CRA initialize a git repo when you use it, this might become a problem and force us to use submodules or manually removing .git if it already was part of a another repo.

Describe the solution you'd like

A prompt with y/n answer whether repository init is needed.

Describe alternatives you've considered

I haven't.

Additional context

React is a front-end framework, commonly used/paired with other back-end frameworks, I don't think something like this should be a default as it just unnecessarily complicates things.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions