A
A
alexandre1082015-03-02 21:00:16
git
alexandre108, 2015-03-02 21:00:16

Git submodules, pycharm stopped seeing files in main project?

I tried to implement submoduleseverything, it looked like it was not difficult. 1) Copied the necessary files to the folder of
the future module 2 )
Created a project in the folder and sent it togithub
git
git rm -r folder
submodulecommitpushgithub

git submodule add https://github.com/name/module.git folder
git commit -m '123'
git push [email protected]:name/plugin.git

5) But there is a problem in the main PyCharm project. Files from this folder, when you try to commit them, write that there are no changes, at least change something. Well, if you push to old remote repositories, then naturally there are no files. And the git->add button is grayed out.
That is, in the old project you can’t add them, you can’t become a committee either, and it’s as if they don’t exist. What to do ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex10, 2015-03-04
@alexandre108

As far as I understand at the moment, PyCharm (jetbrains products) do not support at all git submodules, although it is promised to be implemented in the near future.
https://youtrack.jetbrains.com/issue/IDEA-64024#co...

P
Puma Thailand, 2015-03-03
@opium

Try adding git root for submodule folders in Settings | Version Control

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question