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

How to change the referred to name of a submodule in source tree tab

heydayton July 29, 2020

I'm using the same submodule accessible from two different repos.  Each reference the same submodule.  When I open a submodule from the left tab under Submodules, a new submodule horizontal repo tab appears on the top bar and its cloned.  If I open this same submodule in a different repo, a duplicate horizontally tabbed name appears for its clone.  The trouble is after a while I have no idea which submodule is associated where.  I was hoping to simply change its tabbed name so I could prefix it with its parent repo name.

2 answers

1 vote
Jesse Elliott
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 22, 2022

I discovered a work-around for this one.

  • First, close the submodule tabs
  • Then click the + button to add a new tab
  • Use the "Add" folder feature at the top
  • Then Browse for the submodule folder
  • Name it appropriately, and click Add
  • Do the same for the other location of the submodule

Now, even if you close the tab, when you re-open it, it will retain the name you gave it!

1 vote
Rafael Boy
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!
March 8, 2021

I'd like to bump this question.

We use the submodules features extensively, and not knowing which is the parent repo of a submodule has caused confussions and mistakes. We've even considered migrating to other apps like SmartGit or Git Extensions, but having this in Sourcetree would be super nice.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events