Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sourcetree how to remove a tab permanently? Edited

How to remove a tab permanently?

I do create a tab for testing. 

Then I close it and create my tabs for work.

When I click the plus sign to add new tab, I only see my working tab in "Local repositories", the testing tab is not there.

But now everytime I open sourcetree, that testing tab always show, and it load too long, make sourcetree hangs.

So how to remove that tab permanently?


My sourcetree version is 3.0.12 windows 10 x64.

I search and see this topic saying use the bookmark bar, but can't find the bookmark bar in sourcetree as in atlassian knowledge base:

3 answers

1 accepted

Today I found a workaround for this.

After reading this topic, I go to the folder in the "ghost" tab, delete the .git folder, (and all mapped subfolder).

Then the "ghost" tab has gone.

Restart sourcetree and that tab never open again.

0 votes
minnsey Atlassian Team Dec 10, 2018


If you close a tab before closing Sourcetree it should not re-open it. However if it appears to be doing it then it can only really be one of two reasons.

Sourcetree is being open from the test repository folder, e.g. doing

    > sourcetree.exe .

This will request sourcetree to open and open a tab for a repository based on the current folder.

Alternatively the open tabs are recoded in %localappdata%/Atlassian/Sourcetree/opentabs.xml. Closing sourcetree and deleting that should ensure now old tabs are re-opened when sourcetree re-opens.

Hi @minnsey 

Thks for your answer, but:

+ My sourcetre is being open from C:\Users\user_name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Atlassian

+ I try deleting the opentabs.xml but when open sourcetree, that tab appear again, and then it auto create/adding that tab to opentabs again.




minnsey Atlassian Team Dec 11, 2018

Is the repository at the c:\ drive level?

When Sourcetree opens it will walk the directory structure up looking for .git folders, so if there was a .git folder in any of these folders it would cause Sourcetree to open that view


I've been having this problem for a while, in the source tree I clicked the explore icon, and this shows me where the the .git folder is. I deleted the .git folder and all mystery tab is gone.  It is correct that sourcetree now walks through the root directory and search for all .git folder, adding them to the tab. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,053 views 4 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you