I'm creating a repository as usual following these steps recommended by GitHub:
git init
git add .
git commit -m "First commit"
git remote add origin remote repository URL
git remote -v
git push origin master
I don't know the reason why but instead of creating simple folders there are being created submodules as shown in the image below
Notice that backend has been created normaly as a folder but frontend was created as a subfolder, like some compiled code that I cannot se the items inside...
Does anybody know the reason? Did I make any mistake when creating the repo?
As clarified in the comments, you have .git
directory inside the frontend
directory.
That means frontend
is initialized as a separate git repository. If you don't need this you can simply delete the .git
directory inside, commit, push, and continue.