Unchanged Submodules always stay in the Unstaged area and cannot discard them

Zhao2Xiang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 21, 2023

Hello,

There are 2 submodules under our project repo.

They will be cloned locally when the project is first compiled.

I didn't change anything in them, while they always stay in the Sourcetree Unstaged area which made me troubling.

Capture01.PNG

 

When I try to discard them, Sourcetree tell me the submodules didn't be initialized, and then tell me "Completed Successfully", but the submodules still stay in the Unstaged area.

Capture02.PNG

I can make sure that I didn't change anything of the submodules.

Capture03.PNGCapture04.PNG

I also tried some git submodule init command, they are all useless.

 

What should I do so that the submodules can be discarded from Unstaged area?

Thank you.

 

Best Regards,

Xiang, Zhao

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events