I am trying to add a branch to the master branch on GitHub and push a folder onto that branch.
The folder structure of the branch looks like - SocialApp/SourceCode/DevTrunk/SocialApp and all the source code files are in the last folder.
I am using the following Git commands:
git add *
git commit -m with the message
git push
This is pushing only the first folder "SocialApp" onto GitHub and ignoring the folder SourceCode that is inside the folder. How do I fix this?
.gitignore
? – PleuronThis is pushing only the first folder
- git doesn't care about folders at all, only files. please show the commit - you've either committed a submodule, a symlink or something else that's not a folder – Millhon