Skip to content

No documentation about git init #5291

Closed

Description

@ryancogswell

I was surprised when trying out create-react-app 2 that the new app I created had its own git repository. I didn't see any mention of this in the user guide or in the "what's new" portion of the blog post. Eventually I found the code changes from @mauricedb for issue #1288. I don't have a problem with the new behavior, but it should be documented somewhere.

Activity

  1. gaearon commented on Oct 4, 2018

    @gaearon
    Contributor

    Happy to take a PR. Not sure what would be the best place to document it.

  2. ryancogswell commented on Oct 4, 2018

    @ryancogswell
    ContributorAuthor

    Perhaps an addition to the "Folder Structure" portion of the user guide:
    If you have Git installed and your project is not part of a larger repository, then a new repository will be initialized resulting in an additional ".git/" top-level directory.

  3. Timer commented on Oct 4, 2018

    @Timer
    Contributor

    That sounds good. Send a pull request?

  4. mauricedb commented on Oct 4, 2018

    @mauricedb
    Contributor

    Hi @ryancogswell,

    Feel free to do this if you. If not I am happy to add it as well.

    Maurice

  5. ryancogswell commented on Oct 4, 2018

    @ryancogswell
    ContributorAuthor

    I'll give it a go. I haven't ever done a pull request on github before, but I couldn't have a simpler case to work through for my first time.

  6. locked and limited conversation to collaborators on Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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