I am using an iMac of 2011 and Visual Studio Code (same issue in PyCharm).
I pushed an Django and React project to GitHub. The Django project is pushed like expected. The React part of the project is really strange. The folder is not clickable. GitHub repo picture
I checked in VSC in terminal git status
:
On branch master
Changes not staged for commit:
(use “git add < file>…” to update what will be committed)
(use “git restore < file>…” to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: .DS_Store
modified: frontend (modified content, untracked content)
no changes added to commit (use “git add” and/or “git commit -a”)
If I try to git add .
it tells me at git status
:
On branch master
Changes to be committed:
(use “git restore --staged < file>…” to unstage)
modified: .DS_Store
Changes not staged for commit:
(use “git add < file>…” to update what will be committed)
(use “git restore< file>…” to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
**modified: frontend (modified content, untracked content)**
I created in PyCharm just a Django and React project and wanted to push the project to a repo on GitHub. Before I pushed the code the terminal of PyCharm showed me:
If I try git submodule add <url of rep> react_frontend
it tells me that the react_frontend folder is already connected to the repo.
Is that now the new way of pushing to GitHub or what can I do to get the React folder to my GitHub account?
Previous, one month ago, I was capable of pushing a React-Django-Project to GitHub without any issues... Thanks
------- EDIT ---- picture of the React folder