I'm using Bitbucket and SourceTree for version control and I have created a subproject within my main project. The subproject is useful because I can have teams work on just the subproject (in this case client-side code) while hosting everything together on one server. Other teams can work on the entire codebase.
HOWEVER, I cannot check the code from the subproject in as part of the main project. In fact, it always uploads an empty folder, rather than the content of the subfolder (subproject folder).
Here are the steps I went through to try and include the files in my subproject as part of my main repo:
1) remove subproject (folder called "web-app") from .gitignore :
(web-app folder is no longer greyed out - it is part of the repo)
2) Commit the web-app folder to repo:
... but all I get included is a commit message. I would expect the hundreds of files in the web-app folder to commit to the project at this point. How can I achieve that?
NB - I don't want to lose the subproject or its version control, I just want it to be part of the main repo