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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,673
Community Members
 
Community Events
176
Community Groups

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

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

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!

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

Atlassian Community Events