The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events