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:
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
C:\Users\user_name\AppData\sourcetree\app-{version}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.