Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to fully reset a corrupted git submodule in SourceTree ?

Lester Bloom December 2, 2021

First off, I am not using command line git at all. I am only using SourceTree's gui interface. I would prefer to solve my problem this way; if possible.

Somehow, my submodule has become corrupted. Attempting to fetch or pull gives me the following error:

source tree error.PNG

I haven't found any answers for this particular problem. I am fortunate in that my remote master is ok, 100% up to date, and I have no local changes. So, I think the easiest way will be to just fully reset my local submodule.

However, I can't figure out how to do so.

I considered trying to remove my submodule and then re add it. However, I have had problems with that in the past, and so am gun shy.

I found handfuls of posts about resetting to a specific commit. However, the SourceTree gui is failing to populate my history because of this error.

Any help would be appreciated

Thank you

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events