Tim*_*imo 5 git github reactjs create-react-app
我目前正在开发我的第一个 MERN 应用程序。我在将我的应用程序推送到 GitHub 时遇到一些问题。我的应用程序文件结构如下:
\n\n\xe2\x94\x9c\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80myApp\n\xe2\x94\x82 \xe2\x94\x9c\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80server.js\n\xe2\x94\x82 \xe2\x94\x9c\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80connection.js\n\xe2\x94\x82 \xe2\x94\x9c\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80controls\n\xe2\x94\x82 \xe2\x94\x9c\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80models\n\xe2\x94\x82 \xe2\x94\x9c\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80client <-- create-react-app folder\n
Run Code Online (Sandbox Code Playgroud)\n\n我知道使用 create-react-app 也会运行git init
。因此,如果我尝试在 GitHub 上获取完整的应用程序,我将在 git 存储库中获得一个 git 存储库:
有没有一种方法可以从 create-react-app 中删除 git 并将我的整个应用程序推送到一个存储库?
\n\n谢谢
\n