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 git following commands:
git add *
git commit -m with the message
check the .gitignore file, if the subdirectory is ignored.
then try again
git add --all git commit -am "<commit message>" git push