youngmon/atlassian-qna huggingface dataset:
How to change the user/license/registration in Sourcetree
Asked by Suresh Kumar:

Hi All,

I have installed Sourcetree on my system using my friend's login while trying to install. Now i want to do it with my own registration. but every time i trying to reinstall it just skip the complete installation steps and launch the Sourcetree immediately.

Please help me in solving the mystery.

Thanks

Suresh Kumar


Answers:
author: Dmytro Vasyliuk
body: Hello! For Windows that should work:

Try to remove: %userprofile%\\AppData\\Local\\Atlassian\\SourceTree\\accounts.json


author: Ana Retamal
body: Hi Suresh, please perform a clean install following the steps:

1. [Wipe Sourcetree preference](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html)s.
2. Uninstall Sourcetree (if it shows on the App\&Features list)
3. Backup then delete the directory below before proceeding with next step:
   * On Windows:
     * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local and delete Sourcetree \& Sourcetree-Settings folder
     * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local\\Atlassian and delete all Sourcetree Files/ folder.
   * On Mac:
     * Delete the directory \~/Library/Application Support/SourceTree
4. [Download SourceTree](https://www.sourcetreeapp.com/) and install it.

Let us know if you need further assistance!

Ana


Tags: bitbucket
How do I specify my bitbucket account? The help says there is a gear icon, but not in my version?
Asked by steve:

I am using Sourcetree 2.4.7.0. I am trying to follow the on-line help that says click on the gear icon. I do not appear to have a gear icon in this version of Sourcetree. Sounds like this online help was written for an earlier version of Sourcetree. Here is what it says:

"To add repositories to Sourcetree, log in with your Bitbucket or Github account. You can add multiple accounts to Sourcetree.

1. Click the gear icon and select **Accounts**."


Answers:
author: steve
body: Here is what I found. When I open a new tab in Sourcetree, the gear icon goes away. When I go to my first tab, it comes back. I think this needs to be mentioned in the online help, unless it is a bug that should be fixed. However, the on-line help is still wrong in saying "Click on the gear icon and select Accounts". Accounts is not an available selection. I was able to get a repository cloned, but I had to click on Add and fill in several fields in the dialog window, which took some trial and error. Here is my

**Request: Please rewrite the online help for Getting Started with Sourcetree.**

comments: author: steve
body: I got an email asking if the above reply is an "answer". No, it is not. It explains part of the issue of the gear icon, but it does not answer the question of how to specify my bitbucket account and it raises the new issue that the online help is incorrect about "select Accounts" and the issue that the gear icon goes away when I open a new tab.
I mis deleted my local folder using source tree pull command, how to recover the data back?
Asked by Fiona Gao:

I mis deleted my local folder using source tree pull command, how to recover the data back?


Answers:
author: Fiona Gao
body: all log and history are empty.

The folder is very very very important to me

Please advise...

comments: author: Fiona Gao
body: can I have your phone number? please call me at 64647317988


author: minnsey
body: I'm afraid we do not offer direct phone support.  

All data should be held in your remote folder.


author: minnsey
body: Hi  

I'm not sure how a pull command would delete a local folder unless it has been removed by the latest commits you pulled down. If it has then if you look through the git log entries you should be able to find the commit that removed it and then you can retrieve the folder manually or by reverting that commit.


Tags: bitbucket

restore
korean branch name is not bold after checkout
Asked by LEE HYUNJOO:

Hi, I'm sourcetree user from South Korea.

I made branch that using korean branch name,   
After checking out that branch it'not still bold.

sourcetree version 2.7.1

![?????????? 2018-03-13 ???? 12.13.54.png](/t5/image/serverpage/image-id/16990i069AB104C402B303/image-size/large?v=v2&px=999 "?????????? 2018-03-13 ???? 12.13.54.png")


Answers:
author: Manju
body: Please submit a ticket on <https://jira.atlassian.com/> for the product Sourcetree and we will review it.

comments: author: LEE HYUNJOO
body: Here is my ticket.

<https://jira.atlassian.com/browse/SRCTREE-5398>

Thank you!


Tags: branch

language-kr
Improve the efficiency of large-scale documents to resolve conflicts
Asked by ???? ??:

When encountering a large number of conflicts, it is now necessary to individually select and use the version of each other for each file. Today, I encountered hundreds of clicks on files and chose to use other versions. Can I provide batch operations? For example: I can handle conflict resolution on a folder. And check the target file that needs to be operated first and then use it to select another version/my version (cross-folder)


Answers:
author: bgannin
body: Hi,

You should be able to select multiple items (shift or command select) and then select to resolve using a particular option from the contextual menu. If that's not the case please let us know and we'll get that taken care of in a future update. Please note what OS and version of Sourcetree you're using.

Brian Ganninger  
Senior Mac Developer, Sourcetree
OAuth for multiple accounts doesn't work
Asked by Boyce Developer:

In SourceTree, I have added multiple accounts that I have in BitBucket. The accounts are authenticated via OAuth. I can access the repos for those accounts.

However, because it's authenticated via OAuth, I have to logout in Atlassian to authenticated the 2nd account. When I do that, the first account's OAuth fails since it cannot be refreshed.

Is there no other way to use OAuth and multiple accounts? Do I have to use the basic authentication instead?


Answers:
author: Manju
body: Can you please specify the version of Sourcetree and the platform you are on (windows/macOS)?

comments: author: Boyce Developer
body: SourceTree: 2.4.8.0

OS: Windows 10 x64 Pro

Please see attached screenshot. It shows the issue of an already authenticated account. I need to refresh the token again to keep it active. And when dealing with multiple accounts, i need to switch logins and authenticate both which is a pain to do. If I have more than 2 BitBucket accounts (due to different work requirements), it will become unmanageable.

![OAuth Failure.png](https://community.atlassian.com/t5/image/serverpage/image-id/17146iC81B474F66872238/image-dimensions/527x300?v=v2 "OAuth Failure.png")


Tags: account

oauth
How to delete repository with tab in sourcetree?
Asked by ?ukasz Jarych:

Hi,

I created test repostory and i want to delete the tab and this new repository somehow.   
How can i do it?

I tried with + sign and deleting repository there. Didn't work.

Please help,

?ukasz


Answers:
author: ?ukasz Jarych
body: there is no possiblity to do it ?


author: ?ukasz Jarych
body: Anyone?


author: ?ukasz Jarych
body: MY sourcetree looks like:

![SourceTree.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/17076i57C8D34C68C71981/image-size/large?v=v2&px=999 "SourceTree.JPG")

Please help

?ukasz


author: ?ukasz Jarych
body: Anyone?

?ukasz
SourceTree Tree view not useable at all on windows!
Asked by Sleicreider:

Hello

The last months I had lots of painfull issues with Sourcetree.

Somehow when I try to commit files, it automatically commits Other random files from the Folder, and when trying to Switch files from the commit section to the uncommited section, it sometimes deletes files without notifying the user. At the end it corrupts the whole Projects because files or changes are not tracked anymore and removed without any notification. This is the 3rd time this happened to me, leading to hours of time wasted on Fixing my Project because of those sourcetree issues. I've noticed this only happens in the Tree View for commiting files....


Answers:
author: Ana Retamal
body: Hi Dominik! Sourcetree won't commit files unless they're staged, you can check that on the File Status view. You also said it sometimes deletes files without notifying you, can you describe what operations were you performing at the time of the deletion?

To help us provide you with a better assistance, remember to include your Sourcetree and Windows version in your next message.

Kind regards!

Ana


Tags: windows
Sourcetree 2.3.1.0 won't install on Windows 10
Asked by harun:

Sourcetree 2.3.1.0 won't install on Windows 10


Answers:
author: bgannin
body: Hi Harun,

The latest version of Sourcetree on Windows is 2.4.8.0; please try that and let us know if you encounter any problems and what in particular they are. Thanks!

Brian Ganninger  
Senior Mac Developer, Sourcetree
[OSX] Discard changes to multiple files
Asked by riwu:

When multiple files are selected, we have options like "Remove", "Stop tracking" etc but not "Discard". Can this option be added to Mac version of SourceTree?


Answers:
author: bgannin
body: Hi riwu,

There is a bug that means it's not enabled in the contextual menu. That said, you can use the menu item from the Repository menu*(or its keyboard shortcut)* to perform the action. In addition, if you choose Revert/Reset without any files selected you can choose from the following:

![Screen Shot 2018-03-11 at 8.51.28 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/16842iB71AB63A81994FC6/image-dimensions/391x238?v=v2 "Screen Shot 2018-03-11 at 8.51.28 PM.png")

HTH,

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: Eloi Fromang?-Gonin
body: Hello ! This problem seems to still be around. Any plans on fixing it ? :)
How often should I commit
Asked by Jos ?jdeca? O:

Hi all,

I'm new to Sourcetree, but I've been using SVN for sometime now. My question is, how often should I commit? What is the recommended way? In SVN, I would create a branch, check it out, work on changes that would sometimes take days, then check in. Most of the time, I would have multiple changes\\files with my check in. I'm currently watching a Pluralsight video by Xavier Morera, who suggests to commit often. How often would that be? Not sure if committing every small change is a good idea.

Thanks in advance.


Answers:
author: Steve Thornhill
body: I don't believe there is a definitive answer to that.

It comes down to how the repository is being used.

If it is just you working on it, then commit when you need to.

If there are other people using the same code, then the more often you commit, the easier it is for them to pick up on changes.

You can work the same way as you used to, check out a branch and make any changes, knowing that the master will contain the original code - and then merge or delete, depending on whether you need the changes.


author: Jos ?jdeca? O
body: Thanks for your replies.

Committing often, perhaps also helps with documenting your changes... by adding meaningful comments when committing of course. For my documentation, when checking in in SVN, I would go file by file to review what I'd changed and based on that, I would create my documentation. Our plan for now is that one developer will be working on a feature branch at a time.

Thanks again.


author: bgannin
body: Hi Joe,

My advice is to trust your gut but aim for safety. If you get the basics working, that's a great time to commit before refactoring for final form. If you have a portion you'd like to snapshot (like, *I got the UI done* ) that's another fine commit milestone. I like to do stages *(got X part done, got Y part done, got X+Y wired up, add Z, etc.)* and then wrap up in that merge commit which makes it all clean ?HTH

Cheers,

Brian Ganninger  
Senior Mac Developer, Sourcetree
Unable to install tool
Asked by BRB:

I had source tree for windows before. After I requested for update(postponed for approx 6 months) it failed. Uninstalled, and can't reinstall and be getting 2 unable to install tool error messages:

1) Extraction of c:\\users\\myself\\AppData\\Local\\Atlassian\\SourceTree\\gcmw.zip failed

2) Extraction of c:\\users\\myself\\AppData\\Local\\Atlassian\\SourceTree\\mcmw.zip failed

Please advice


Answers:
author: BRB
body: OK. Will try it tonight.

Thanks.

? dank

comments: author: Nir Haimov
body: [@BRB](/t5/user/viewprofilepage/user-id/1195842)

Did it worked?


author: BRB
body: Nir,

Those folders have existed, but \*.exe files were not extracted from \*.zip files. I did extract them manually. This process leaves a pretty bad taste in my mouth.

Can I connect with you via LinkedIn?

Thanks.


author: BRB
body: 7-Zip \[32\] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21

Scanning the drive for archives:  
1 file, 610535 bytes (597 KiB)

Extracting archive: C:\\Users\\myself\\AppData\\Local\\Atlassian\\SourceTree\\gcmw.zip  
--  
Path = C:\\Users\\mich\\AppData\\Local\\Atlassian\\SourceTree\\gcmw.zip  
Type = zip  
Physical Size = 610535

<br />

Sub items Errors: 1

Archives with Errors: 1

Sub items Errors: 1


author: BRB
body: [@Nir Haimov](/t5/user/viewprofilepage/user-id/624284)


author: Nir Haimov
body: Hi,

Sorry for not responding.

Honestly, i have no more ideas.

Truly, i never faced the problem my-self, i install it with no problems, but i tried to help in every way i could have think.

I got no more ideas :(


author: BRB
body: [@Nir Haimov](/t5/user/viewprofilepage/user-id/624284)

Appreciating your effort. Thank you anyway.


author: BRB
body: Please ignore.

comments: author: Nir Haimov
body: try to go to "c:\\users\\myself\\AppData\\Local\\Atlassian\\SourceTree\\"

and extract manually both zip files.

That should work


author: BRB
body: Read this advice online. To extract where? Why should I do that? Isn't it an ST bug?


author: Nir Haimov
body: it's a bug, yes.

But we are trying to workaround it :)

in the "c:\\users\\myself\\AppData\\Local\\Atlassian\\SourceTree\\"

if you don't have it already, create new folder "git_extras", extract "gcmw.zip" to that folder.

if you don't have it already, create new folder "hg_extras", extract "mcmw.zip" to that folder.


author: Nir Haimov
body: let me understand.

You are trying to install source tree on your windows pc and get the error?

Did you try to delete the "c:\\users\\myself\\AppData\\Local\\Atlassian\\SourceTree" directory and install again?

comments: author: BRB
body: I sure did...


author: BRB
body: I have also rebooted PC, just in case...


author: BRB
body: Windows 8.1 if it matters.


author: Nir Haimov
body: what source tree version are you trying?


author: Nir Haimov
body: did you try to "right click" the installation and run as administrator?


author: BRB
body: Yes


Tags: install

windows
Alias files vanish after pulling from repo
Asked by ed hawco:

Hey. I've been using Git and SourceTree for a couple of years to synchronize my documentation projects between two computers. (Yes, it's not the standard use case, but hey, long story.) Both computers are Macs running macOS High Sierra 10.13.3.  

It works well. No problems. Except for one thing I just noticed. If I create an alias file on one machine, then commit it to the repo, then pull it down on the other machine, the alias file shows up in the SourceTree history but it never appears in the second machine's folders.  

I tried this in both directions (*create alias on machine 1, commit, pull to machine 2* ; and *create alias on machine 2, commit, pull to machine 1* ).  

To be precise: by "alias" I mean a Mac alias file that's just a reference to a file in a different folder, so if you click the alias it opens the file from the other folder (or if it's a folder alias, it jumps to that folder).  

A few questions:

1) Is this normal? I.e., is it because of the ethereal nature of alias files?

2) Is this potentially breaking something? I.e., if I create a bunch of aliases and commit/pull them, will I end up with a bunch of phantom aliases that will eventually blow up somewhere?  

BTW, I'm not a programmer/coder, so this whole SourceTree/Git thing is a bit magical to me. So please talk to me like I'm a total noob. All help appreciated!


Answers:
author: Ed Hawco
body: Not an answer, but an update. (Same poster, but logged in with different ID; long story.)  

OK, so on Machine 2 I cannot see the alias I created on Machine 1 (even though the SourceTree history says it was committed and pulled to Machine 2). BUT! On Machine 2 I happen to be using Windows 10 in a virtual machine, and I go to the folder with the (missing? Invisible?) alias, and THERE IS IS. So I can see it in Windows but not in macOS!  

EVEN WEIRDER: in Windows 10, the alias is marked as an Excel file! (It's actually an alias to a folder). It's obviously not an Excel file, and when I try to open it in Excel I get a bunch of warnings and then it opens a file with garbage in it.  

So what's going on? Is SourceTree somehow corrupting alias files?
SourceTree displays broken characters on EUC encoding
Asked by Akira Tanaka:

Hello!

I changed a character code set setting from UTF-8 to EUC-JP.  
After that I could see the line written in Japanese on the difference contents pane.  
But I couldn't see the commit message in Japanese on the central pane.

I don't know why SourceTree can solve Japanese commit message on the each commit information pane but fail to display on the central commit list pane.

Please give me some information about how to solve this problem.

![broken_commit_message_sample_r1.png](/t5/image/serverpage/image-id/16751iDB4CA1E0DA25DEE8/image-size/large?v=v2&px=999 "broken_commit_message_sample_r1.png")


Answers:
author: bgannin
body: Please file a ticket at <https://jira.atlassian.com/browse/SRCTREEWIN> with these details and we'll take it from there.

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: Akira Tanaka
body: Thank you.

I filed a ticket as SRCTREEWIN-8444.


Tags: language-ja
Sourcetree 2.4.8.0 UI differs from https://confluence.atlassian.com/get-started-with-sourcetree
Asked by Laurent Schall:

Dear Atlassian support team,

I am currently running Sourcetree Version 2.4.8.0 and I am trying to follow your article <https://confluence.atlassian.com/get-started-with-sourcetree/merge-changes-from-one-branch-to-another-git-847359121.html> regarding the merge from one branch to another.

I've noted that the UI from my version of sourcetree looks and acts differently than the one described in your article.

Example 1: Point 1 from your article shows a WORKSPACE menu entry with the following sub menu entries: File status, History and Search. My version is showing a FILE STATUS menu with a sub menu "Working Copy"

Example 2: Point 1 from your article asks to hover the mouse over the right side of the **Branches** label until you see the word **Show** . This seems not working in my version of Sourcetree.

Your article has been updated recently (it says Last modified on Mar 5, 2018) - so I am wondering if I am missing some settings in my installation to make my installation of Sourcetree look and behave the same as in the description of your article.

![2018-03-09 10_21_47-Sourcetree.png](/t5/image/serverpage/image-id/16736i87F0891BF34842A2/image-size/large?v=v2&px=999 "2018-03-09 10_21_47-Sourcetree.png")![2018-03-09 10_22_39-Sourcetree.png](/t5/image/serverpage/image-id/16737iE03E9AB566FB262A/image-size/large?v=v2&px=999 "2018-03-09 10_22_39-Sourcetree.png")


Answers:
author: bgannin
body: Hi Laurent,

The first issue, the naming of sidebar content, I'll bring up with the Windows team and we'll get tidied up in a future update; the documentation is correct on naming convention. The second, Show vs disclosure arrow, is actually a difference between between macOS and Windows for outline (tree) views, I'll note this for the documentation team. Thank you for the notes, we just updated the Getting Started using the latest Mac client.

Brian Ganninger  
Senior Mac Developer, Sourcetree
Cloning Does Not Work
Asked by Christian Pringelsfresser:

So, i did Update my client a few days ago, but i cant clone from my repositories.

After re- installing sourcetree and re- inviting into the repositories i cant clone after all.

Only Error i could find is:

quellpath isnt right

BUT IT IS, even after letting bitbucket try to clone per website it aint was right.

So how can i fix this?

Thanks for help.


Answers:
author: Christian Pringelsfresser
body: Problem still insist with newest Version, but i downloaded [1.9.10.0](https://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.9.10.0.exe?_ga=2.64606447.1317607028.1521032106-169217600.1519657829) and it worked fine.


author: Christian Pringelsfresser
body: Hello Brain,

I use Windows 10, on the latest version of Sourcetree(2.4.8.0)

<br />

Thats the Url:

"https://Puma_@bitbucket.org/Tony-JohnsonIOL/altislife-v5.0.git"

Sincerely

Christian


author: bgannin
body: Hi Christian,

What version of Sourcetree are you using? What platform are you on? Can you share the URL(s) you are trying to clone that fail? *(replacing sensitive names with an equivalent if needed)*

Brian Ganninger  
Senior Mac Developer, Sourcetree
Is there a way to use CQL to find inactiveUsers(), similar to Jiras JQL?
Asked by Mark J Cunningham:

Within Jira JQL you can identify inactive users using a query like  
assignee in inactiveUsers()  
Then using automation set assignee to unassigned for those users who have left the business

I would like to be able to do the same in confluence CQL but none of the following work  
creator in inactiveUsers()  
creator in (inactiveUsers() )  
owner in inactiveUsers()  
owner in (inactiveUsers() )  
owner in ("Deactivated", "Former user", "Unlicensed")

This way I can use automation to reassign pages with owners who have left, to new owners

I currently have automation set up, that when a page is edited and the current page owner is shown as either Deactivated, Former user or Unlicensed, the person who edited the page becomes the new page owner.

But with thousands of users, pages, etc this is just a drop in the ocean of page owners who have left.


Answers:
author: Laurie Sciutti
body: Hi [@Mark J Cunningham](/t5/user/viewprofilepage/user-id/4513935)! It is my understanding that a bulk change option is not currently available but is something the Atlassian team is aware of and working on (though I didn't see it on the Confluence Cloud roadmap).

Perhaps [@Tiffany Chung](https://community.atlassian.com/t5/user/viewprofilepage/user-id/5026570) can provide more information? Or you might also have a look at the Comments section of this [article](https://community.atlassian.com/t5/Confluence-Cloud-articles/New-Assign-and-transfer-page-ownership/ba-p/2396313) as some users have suggested add-ons that apparently provide this functionality. HTH


Tags: cloud

confluence-cloud
Email links' content starting with underscore will be removed
Asked by holger_fausek:

When adding a link with a mailto: address and an alternate text, where the email address starts with an underscore ("_"), the mail link is removed while saving it. It is replaced by a "#" or a link to the page itself.

<br />

I know an underscore as first character sound weird, but all our company's mail distribution lists and some special mailboxes have this pattern - and it worked elsewhere for decades now.

Is there an option to fix or workaround this behaviour of Confluence?


Answers:
author: Craig Nodwell
body: Hi [@holger_fausek](/t5/user/viewprofilepage/user-id/5392016) welcome to the community. Have you tried escaping it or wrapping it in quotes?


Tags: cloud

confluence-cloud

email

link