Pushing Pycharm Project To Git : Multiple Root Content

Abhishek Malik :

My flask application on Pycharm requires python functions from another Pycharm project. To accomplish that I went to project structure and added the required project as a part of the Root Content.

Now when I push to Git, it only pushes the newly added project. I think Pycharm only recognizes the newly added root content and fails to recognize the actual flask project.

What can I do to ensure Pycharm pushes the entire project? [using VCS on Pycharm]

Glech :

I think it's bad idea to mix your projects this way. Try using git submodules: https://git-scm.com/book/en/v2/Git-Tools-Submodules.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=397863&siteId=1