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

sourcetree loses links to submodules after "reset"

Vyachaslav Gerchicov November 9, 2016

I have a sequence of commits which I need to unite into one. And one of them contains a link to submodule.

I reset all the commits with option "mixed" and commit again to create one big commit. I get the changes I need except of a link to a submodule.

How to fix that? Could you at least say how to do that with terminal/console in OSX?

1 answer

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.
November 10, 2016

Yeah I've experienced this annoyance.

After creating your 1 big commit, create the submodule and commit that but choose 'Amend last commit' and it should combine the submodule definition with the previous big commit.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events