youngmon/atlassian-qna huggingface dataset:
Using SourceTree in the internal network
Asked by Younghyun Song:

Our campany bought **Bitbucket Server** for an **internal networ**k, and trying to use SourceTree.

While SourcetTree installation, it requires Atlassian account, but, in the internal network, **can not reach to the "internet",** so I couldn't finish installation of SourceTree.

Any solution for this case?

(buying sourcetree for internal network, use old version that do not require log in... anything else...)


Answers:
author: Kostiantyn Usenko
body: Hi Younghyun,

which version of Sourcetree your company use?

comments: author: Younghyun Song
body: We've tried to use the latest version, 2.7.1


author: Younghyun Song
body: Did you find the solution for this case?


Tags: install

internal
Is sourcetree paid
Asked by Neha:

I am trying to install sourcetree but I am not able to login and it take me to page ehere the liscence is generated


Answers:
author: Nic Brough -Adaptavist-
body: You don't need to pay for personal use, but you still need to generate and install a licence to use it.

comments: author: Neha
body: but the liscence is generated and now to put the liscence I need to open source tree .. when I go top source tree it asks me for sign up and takes me to page where liscence is generated .. cant open source tree .. plz suggest


author: Nic Brough -Adaptavist-
body: Generate a licence in that page, and go back to sourcetree to install it.


author: Ana Retamal
body: Where you able to go through, [@Neha](/t5/user/viewprofilepage/user-id/1208735)?

Let us know if you need further assistance!

Kind regards,

Ana


author: Neha
body: Hi Ana .. no m stucked in source tree .. cant login


author: Nic Brough -Adaptavist-
body: You will need to explain "can't login" properly. What exactly are you doing?


author: Ana Retamal
body: Hi [@Neha](/t5/user/viewprofilepage/user-id/1208735), can you elaborate a bit more on why you're not able to log in? Are you redirected to some page? Are you not able to enter your credentials? Do you get some error?

Please include also a screenshot to help us identify your issue. We'd like to help you, but with such a vague description we can't know what's going on.

Looking forward to your response!

Ana
??????????????
Asked by Shigeru Hagiwara:

SourceTree????????????????????????


Answers:
author: Ai Hirama
body: ???????????????????????????????

???????Windows?????????????????  
??????????????Windows??Sourcetree??????????????????????????

?????????????????????????????????????????????????????????

* [SRCTREEWIN-7082 - Squirrel install to APPDATA prevents SourceTree use in corporate environments](https://jira.atlassian.com/browse/SRCTREEWIN-7082)

?????????????????????????????

?????????????????????


Tags: language-ja
How to remove the Rest Saved Passwords
Asked by TheNeo:

It is not work to delete the Rest Saves Passwords Account

![???.png](/t5/image/serverpage/image-id/19224i024A28C6003D8E41/image-dimensions/368x318?v=v2 "???.png")


Answers:
author: minnsey
body: If you have trouble deleting passwords in Sourcetree, you can delete them directly in Windows Credential Manager. The REST passwords are keyed with the prefix 'souretree'

comments: author: TheNeo
body: Thanks
Rename Stashes
Asked by Terrance:

Hi Sourcetree Team! I'm a longtime user, longtime fan of Sourcetree.

Here's a feature suggestion that seems like it would be easy to implement, and could be useful to many...

---

I find that often there are some stashes that I have created during Feature Development that I end up re-using afterwards, and it would be helpful to be able to rename them to something else, especially something that does \*not\* include the branch prefix.

Here is the underlying git commands that do what I would love to see in the GUI, as a right-click menu item called 'Rename Stash', along with 'Apply Stash' and 'Delete Stash':

<https://stackoverflow.com/questions/25931026/how-can-i-rename-a-git-stash>

++**Use case:**++

In Drupal 7 development, oftentimes there are issues with modules that can only be easily debugged if I add a temporary snippet of code to core files. Currently I re-use a Stash commit I created for this, but it would be nice if it was named:

"DEBUG - Drupal Entity: Add output"

instead of

"On \[my-long-branch-name-here-created-by-jira\] - DEBUG - Drupal Entity: Add debug output"

This format, which is imposed by Sourcetree (and Jira branch creation), while useful during feature branch development, is not easy to read or identify Stashes that I may want to re-use after that branch is gone.

++**Here is a screenshot link:**++

<https://drive.google.com/file/d/1JeS7m494GxOP2Empq3SESe_QbQEVxNFq/view?usp=sharing>

---

I Hope you like the idea and decide to add it to a future release!

Warmest Regards,  
Terrance Orletsky


Answers:
author: bgannin
body: Full links:

<https://jira.atlassian.com/browse/SRCTREE> (macOS) and <https://jira.atlassian.com/browse/SRCTREEWIN> (Windows)

Vote or comment on existing tickets around the topic or file a new one if no one else made the suggestion(s) yet.

Thanks!


author: minnsey
body: Hi  

Please create a feature request ticket at <https://jira.atlassian.com>


Tags: bitbucket

feature

user-interface
cloning repository throws "not valid source url error"
Asked by Alex Gugnishev:

When cloning repository from remote bitbucket into local repository using sourcetree app and HTTP method I get "not valid source url error" even so the repository authentication is OK and the cloning is initiated from bitbucket cloud account which has been logged as the owner of the repository . Please see attached screenshots. Please help to resolve.


Answers:
author: Alex Gugnishev
body: Hi, Kostiantyn. Thank you for replying, I have resolved the problem by deleting all windows credentials for git:https://... in windows control panel Credential Manager then re-entered my credentials in SourceTree and now it works. I found on google that it is known windows bug or whatever type of this problem that it is windows doesn't modify credentials if they have been changed in SourceTree. You have to clean those manually.

comments: author: Kostiantyn Usenko
body: Hi Alex, thanks for replying.

Do not be hesitate if you have any questions.


author: Kostiantyn Usenko
body: Hi Alex, please share the screenshot.
Where does SourceTree store repository configurations?
Asked by Matt Raffel:

![Screen Shot 2018-04-10 at 1.28.48 PM.png](/t5/image/serverpage/image-id/19177iB00A1F39D2AB916E/image-size/large?v=v2&px=999 "Screen Shot 2018-04-10 at 1.28.48 PM.png")Where is this information stored on a mac? I would like to edit these displayed texts without have to delete the folders and re-git the repository.

Thnx

Matt


Answers:
author: Daniel Eads {unmonitored account}
body: Hi Matt!  

If you want to edit the git config, you can get it open from Sourcetree:

1. Open the repo and click **Settings** in the toolbar
2. Click the **Advanced** tab
3. Click the **Edit Config File...** button

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/19200i5C80FA967E7781E1/image-dimensions/500x355?v=v2 "image.png")

If the stuff you're looking to modify isn't in this file, you can also try the **sourcetreeconfig** file. That's located in \<your_repo_'s_home_directory\>**/.git/sourcetreeconfig**. .git is a hidden folder, so you'll need to use Terminal to get there or use Cmd+Shift+G in Finder to let you browse to that location.

Cheers,  
Daniel

comments: author: Matt Raffel
body: That doesn't answer my question.

EG: I want to change "stuff" to say "my stuff". I cannot find where that bit of data is stored.


author: Matt Raffel
body: Btw I did find I can rename it by ctrl-click the project name. I was expecting to find "stuff" in a config file somewhere. But I have yet to find it.


author: Daniel Eads {unmonitored account}
body: Sorry that didn't seem to answer what you were trying to solve. You did ask "Where does SourceTree store repository configurations?" which is the answer originally provided.

As you found, what you really wanted to do (rename a repository locally) can be done simply by right-clicking or ctrl-clicking and selecting **Rename** . SourceTree saves the information about your repo browser (not the actual repo configs themselves) in **\~/Library/Application Support/SourceTree/browser.plist**.


author: Matt Raffel
body: yes. my apologizes on clarity of what I was looking for. Thank you for your help.


author: Daniel Klein
body: For future reference, on Windows 10:

```
C:\Users\<YourUserName>\AppData\Local\Atlassian\SourceTree\bookmarks.xml
```
How to create a patch file for each of multiple commits
Asked by goofyfooter:

I would like to create separate patch files for each of several commits, but can not find a way to select multiple commits in the create patch panel.

1. As depicted in the following screenshot of my **Create Patch.../** **Patch From Commits** ,I have ticked the **Create a separate patch file per commits (append sequence number to filename)** checkbox so that I could create a series of patch files. I have selected commit "\*\*Fix Some Analyze..." and would have liked to select commit "\*\*Fix Issue #005..." also. But, there doesn't appear to be any way to select more than one commit.
2. If I proceed with 1., a commit file named "patch0001.diff" is created from commit "\*\*Fix Some Analyze..." and the **Patch From Commits**panel is dismissed.
3. If I return to **Create Patch.../Patch From Commits** , the panel is set to its default state with the **Create a separate patch...** checkbox unticked and the **Patch File:** path reset to the repository.
4. If I reset the panel as in 1. and this time select a different commit, "\*\*Fix Issue #005...", then create the patch, the patch file "patch0001.diff" is replaced with the patch from commit "\*\*Fix Issue #005...". I was expecting another patch file to be created titled "patch0002.diff".

I just don't see how one is supposed to utilize the **Create a separate patch file per commits (append sequence number to filename)** checkbox to create a sequence of patches.

![Screen Shot 2018-04-10 at 11.49.34 AM.png](/t5/image/serverpage/image-id/19158iF860A0B75FD4469B/image-size/large?v=v2&px=999 "Screen Shot 2018-04-10 at 11.49.34 AM.png")


Answers:
author: minnsey
body: Hi  

Holding the ctrl key while clicking on the commit should allow you to select multiple commits.

comments: author: goofyfooter
body: **On the Mac the CTRL key doesn't work, but the CMD key does!**

Before I posted the question, I thought that I tried all the modifier keys many different ways, but I apparently overlooked the CMD key.

Holding the CMD key down while clicking on commits does, indeed, add to the selection. Then proceeding with **Create Patch.../** **Patch From Commits** as I detailed in 1. above does produce a series of patch files, each containing a different commit.

Thanks Michael. Your answer moved me off the dime.


author: minnsey
body: Ah missed the mac aspect. Glad you are back up and running
locked out after update
Asked by Pat Johnston:

I recently updated to 2.4.8.0 on Windows 10. Attempting Pull from my remote bitbucket repository now gives me "git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin  
remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile."

My username and passw0rd hasn't changed and I'm not prompted for a password. How can I fix this?

I always seem to have a problem after updating.


Answers:
author: minnsey
body: Hi  

In the Windows Credential Manager delete any entries prefixed by 'git:' that refer the <https://bitbucket.org> or https://username@bitbucket.org.  

This will force Git to request new credentials, which you can enter. You should then be good to go.

comments: author: Pat Johnston
body: Thanks Michael,

Unfortunately, I couldn't find any 'git' credentials. And I'm not being prompted for a new credential. Last time I had this problem I had to reinstall an earlier version. Maybe it's time to reinstall?

Pat


author: Pat Johnston
body: I had to install 1.10.23.1 to make it work. None of the version 2 installs seem to work for me.


author: minnsey
body: What version of git are you using?  

I wonder if you have an older version of the Git Credential Manager. Git \>= 2.15 works best


author: Pat Johnston
body: I'm on git 2.14.1 on the Windows 10 workstation. I'll be offsite until next Tuesday and will update git and SourceTree then.

Thanks, Pat
fatal: could not read Username for 'https://bitbucket.org': Device not configured
Asked by Shaahin_Shahbazi:

I updated to SourceTree v2.7.2 on my Mac and when doing a push/pull/fetch I receive the error:

> git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin  
>
> fatal: could not read Username for '<https://bitbucket.org>': Device not configured

This issue happened immediately after update. I've tried Basic SSH and HTTPS, as well as OAuth and removing the Sourcetree folder from my library folder. No luck.


Answers:
author: Leonardo_Vieira
body: I still have this error in version 3.3.8


author: Manju
body: This was a bug we have fixed in the build 2.7.2 (167). Please update the build and this issue should be resolved.

Thanks,  
Manjunath  
Sourcetree Mac Developer


Tags: mac
I cannot reinstall Sourcetree after I reformat my laptop
Asked by Grace Lim:

Hi! Anyone, I need help.. I need to reinstall my Sourcetree, and after clicking "use an existing account", it shows this..

How can I troubleshoot this?

Thanks!

![Capture.JPG](/t5/image/serverpage/image-id/19097i07B1254C860FAA3C/image-size/large?v=v2&px=999 "Capture.JPG")


Answers:
author: Ana Retamal
body: Hi Grace! This is usually caused by an old version of the browser. Sourcetree relies on Internet Explorer for authentication, can you make sure it's updated to the latest version?

Apart from that, IE needs to be configured at a minimum as follows:

- Cog/Internet options/Security settings need to be enabled

- Misc/Access data sources across domains

- Misc/Allow META-REFRESH

- Scripting/Active Scripting

- The browser mode set to 10

- The document mode set to 10

These can be set using the F12 developer tools.

Those are the settings that matter. It should also be able to set them indirectly by:

- making sure [https://id.atlassian.com](https://id.atlassian.com/) is NOT set to be rendered in Compatibility Mode

- Set Cog/Internet options/Security to Medium-High

Let us know if this helped you!

Best regards,

Ana


Tags: install
Too many invalid password attempts
Asked by mitchnroll:

Hi,

since few weeks I receive this error message when I update my bitbucket repo with sourcetree:

Pushing to https://mitchnroll@bitbucket.org/mitchnroll/iriparo.com.git

remote: Too many invalid password attempts. Try logging in through the website with your password.

fatal: unable to access 'https://mitchnroll@bitbucket.org/mitchnroll/iriparo.com.git/': The requested URL returned error: 403

To fix it I have to remove my account, wait a little, and then re-add it.

Is there a way to fix it definitely?

I login with google sign in, can it be the problem?

Thanks


Answers:
author: alloydylan
body: Their own git client, Sourcetree, has serious problems authenticating with Bitbucket accounts and always has. It constantly causes problems for anyone trying to reliably commit their code. I recommend staying far away from it. It will literally cost you money, a client, or a job one day.


author: minnsey
body: Hi  

Bitbucket will semi lock your account if it gets too many errors. You can unlock it by going to the Bitbucket website, logout and then log back in.  

This can happen if Sourcetree is making repeated REST calls using bad credentials for example. If you are using HTTPS and OAuth credentials Sourcetree should be auto-refreshing the OAuth tokens to prevent this from happening.  

Are you using SSH or HTTPS for your git/hg remote urls and are you using OAuth or just Basic Auth for account credentials in Sourcetree?

comments: author: mitchnroll
body: Ok but the credentials are correct, I would like to change the password but I can't because my account is logged in with Google.

I'm using Source tree with OAuth and SSH.

I'm source tree user from different years and it never gave me this kind of problems.


author: Syed Waqas
body: [@minnsey](/t5/user/viewprofilepage/user-id/502201) That is probably the case, but I am not able to figure from where these requests are coming from which are causing the BitBucket account to get locked. Is there a way in Bitbucket to find this?


author: minnsey
body: [@Syed Waqas](/t5/user/viewprofilepage/user-id/2983587) unfortunately not
Trying to install and sign in, get stuck on the "Please wait" screen
Asked by Jen Pritchard:

I've downloaded the install file for Sourcetree and gotten to the "Log in to your Atlassian account" page, but when I use either "Use an existing account" or "Go to my atlassian", I get stuck on a "Please Wait" screen. I've tried changing my password just in case that was the problem, but no luck. I can log on to my account via the website with no problems, but just can't access it via this screen so I can't go any further. Please help!![2018-04-09_14h30_50.png](/t5/image/serverpage/image-id/19069i594749FA99477C2F/image-size/large?v=v2&px=999 "2018-04-09_14h30_50.png")


Answers:
author: Ana Retamal
body: Hi Jen! Are you using Sourcetree for Windows or Mac?

If you're on Windows, please make sure that Internet Explorer is updated to the latest version, as Sourcetree relies on it for authentication. If you're still having issues, let us know which Sourcetree and OS version are you using so we can continue helping you.

Kind regards!

Ana
SourceTree Pull : What are the options I need to choose on "Pull" ?
Asked by robinspaul:

Hi,

When I do a "Pull" on any branch (eg: develop), I have 4 options to choose (please see the image below). Which options should I choose?

![PullOptions.PNG](/t5/image/serverpage/image-id/19046i5DB05AB06E2941A5/image-size/large?v=v2&px=999 "PullOptions.PNG")

Thanks


Answers:
author: minnsey
body: Hi  

For normal behaviour leave the options unchecked, everything will just work,  

You can find more explanation above the more advanced git pull options here: <https://www.git-scm.com/docs/git-pull>
Authentication problem
Asked by fabiogagno:

Dear,

I'm having authentication problem with my Bitbucket account when I do pull/push from SourceTree. I get the messages below. If I disconnect from JIRA and then log in again or if I remove the account from SourceTree and put back the same account it's working for a while. But after few hours I have the same problem. Could you please help me with these? I have the last version of SourceTree installed.

Thanks,

Fabio Gagno

![Screen Shot 2018-03-29 at 4.47.53 pm.png](/t5/image/serverpage/image-id/19072iB9DBB22F9B0EB942/image-size/large?v=v2&px=999 "Screen Shot 2018-03-29 at 4.47.53 pm.png")![Screen Shot 2018-04-09 at 1.09.14 pm.png](/t5/image/serverpage/image-id/19073i03BB08C4914EA80F/image-size/large?v=v2&px=999 "Screen Shot 2018-04-09 at 1.09.14 pm.png")


Answers:
author: fabiogagno
body: hi, thanks for your reply. My build number is 2.7.1 (159), just downloaded from sourcetree website, can not find the 2.7.2 (167). Is it a beta version?

Thanks

comments: author: Manju
body: No, this is not a beta version. We are rolling out this to all users over a period of time. This is the latest version and will be updated on the website when the update is available to 100% of users.


author: Manju
body: Can you please confirm the version and build number? 2.7.2 (167) is the latest and if you aren't on that, I would recommend you to update and try in the latest version. If you still see this issue in the latest version, please revert back with details of account configuration including authentication type and protocol used.

Thanks,  
Manjunath  
Sourcetree Mac developer

comments: author: fabiogagno
body: Just replied below.


Tags: mac
Any plans to add support for editorconfig files to SourceTree?
Asked by Mark Eissler:

GitHub's web interface already supports [editorconfig](http://editorconfig.org/) files which is handy when viewing diffs for code which use an other than 4-space tab setting. This formatting definition file is supported by a lot of apps and platforms already, you can see a complete list on this page:

<http://editorconfig.org/>

The problem I'm facing is that when viewing diffs in SourceTree for a project that uses tabs with an 8-space width, nothing is lined up correctly. On GitHub the diff is viewable without a problem (because it reads an editorconfig file when present). And in my editor (Visual Studio Code) everything is lined up correctly because I'm using an editorconfig plugin.


Answers:
author: minnsey
body: Hi  

Thanks for the suggestion, can I request that you create a ticket here: <https://jira.atlassian.com> for the potential improvement and we can review it.

comments: author: Mark Eissler
body: Done.

[Support for editorconfig files to adjust whitespace when viewing code](https://jira.atlassian.com/projects/SRCTREE/issues/SRCTREE-5590)
my collaborators cannot see repository on sourcetree
Asked by Filipposan:

he is logged in correctly with Oauth on sourcetree

i added him to the repository with write permissions, nothing happened, cannot see

i added him to a group and then added the group with write permission, nothing.

i added another myself account to the repository, i cannot watch the repository

what am i doing wrong ?

he can see on bitbucket that he is added to the repository in question on web(chrome).

my other account can see the repository on bitbucket web(chrome)


Answers:
author: minnsey
body: Hi  

Can you try refreshing the Oauth token in Sourcetree and see if it then becomes visible?  

Which version of Sourcetree are you running?

comments: author: Filipposan
body: **using sourcetree 2.4.8.0**

**what i mean is why can?t i see the repositories i am invited to as if they were remote repositories when adding a new repository?, i dont know why that isnt possible,**

**i cloned the repository using the option in bitbucket web but it seems like a clunky solution.**

**if i was invited then show them as repositories i can clone from new repository option in source tree.**


author: minnsey
body: Hi  

Yes you should be able to view them in Sourcetree, we will take a look and see if we can identify any issues.


author: David Becker
body: Hi there -- I'm having this exact same issue. Did you ever find a solution to it?

Thanks,  
David
Local non-existent branch commit
Asked by JerryLetehen:

Hello! I was checkout existing commit and then I was on non-existent branch. I understood that when I made a local commit and tried to push: source tree said me that I am on non-existent branch. So I switched to existent branch and saw that my files aren't in the folder (it was unity project)... I said "What the f..." so loudly... and then when I understood that the I cannot get it back I said "f..k" so-so loudly.  
Maybe you know how to get back my project....

My ass is so hot and I think I will fly from Earth to the Mars!!! AAAAA Help me please


Answers:
author: minnsey
body: Hi  

It sounds like you made a commit to a detach HEAD. You will nned to drop down to the git command line but you should be able to go back to your missing commits.  

This is a good starting place <https://stackoverflow.com/questions/4845505/gitx-how-do-i-get-my-detached-head-commits-back-into-master>


Tags: branch

commit