You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Activity
gaearon commentedon Oct 4, 2018
Happy to take a PR. Not sure what would be the best place to document it.
ryancogswell commentedon Oct 4, 2018
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.
Timer commentedon Oct 4, 2018
That sounds good. Send a pull request?
mauricedb commentedon Oct 4, 2018
Hi @ryancogswell,
Feel free to do this if you. If not I am happy to add it as well.
Maurice
ryancogswell commentedon Oct 4, 2018
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.