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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Sourcetree how to remove a tab permanently?


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.

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. 

0 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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.




Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events