How do I get back my submodules listing?

Deleted user May 8, 2016

I have a repo that has submodules. They were displaying fine for a long time, but now they have disappeared from the repo's tree view. The repo still has those submodules, they are just not displaying in the tree – and thus not able for me to work with. Any idea what might have caused this to happen?

3 answers

0 votes
thinsoldier
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 24, 2016

Try cloning a fresh copy of the repo to a different folder and then init and update the submodule. If that works from the terminal try doing the same from sourcetree. If it doesn't work from sourcetree hopefully you can at least bookmark in sourcetree the one that worked from the terminal and see everything again.

0 votes
David Sherwood May 18, 2016

I went into terminal mode and typed:

git submodule status

I get back:

bash.exe: warning: could not find /tmp, please create!

Is this the problem? What does it mean?

0 votes
David Sherwood May 18, 2016

I have the same problem. I tried to add one of the missing submodules but git says it still in the index.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events