youngmon/atlassian-qna huggingface dataset:
Could not clone a Bitbucket repo to SourceTree 3.0.8
Asked by Kouichi C. Nakamura:

I have cloned lots of repos before, so I should know what I'm doing, but I could not clone a repo using SourceTree 3.0.8 using System Git (2.19.1.windows.1)

From the \`Clone\` button of Bitbucket, I copied the URL below

\`https://myusername@bitbucket.org/myusername/reponame.git\`

and pasted it to Clone tab of SourceTree, but it said

\> This is not a valid source path / URL

Neither

\`<https://bitbucket.org/myusername/reponame.git>\`

or

\`<https://bitbucket.org/myusername/reponame>\`

worked.

However, from command line, \`https://myusername@bitbucket.org/myusername/reponame.git\` just worked fine.

I suspect that this can be a new bug. So I report this here.


Answers:
author: Ana Retamal
body: Hi Kouichi!

Can you expand the error message and see what it says? I've tried reproducing this issue and in my case I was getting the error:

```
fatal: I don't handle protocol 'git clone https'
```

Then I removed the 'git clone' part from the URL I cloned from Bitbucket and it worked. Can you double check this is not happening to you as well?

Let us know!

Ana

comments: author: Kouichi C. Nakamura
body: No I'm not pasting "git clone " command to the box for an URL.

I tried it for another repo and got this error.

```
Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://myusername@bitbucket.org/myusername/reponame.git
Output:
Error: fatal: ArgumentException encountered.
?? An item with the same key has already been added.
remote: Too many invalid password attempts. Log in at https://id.atlassian.com/ to restore access.
fatal: unable to access 'https://myusername@bitbucket.org/myusername/reponame.git/': The requested URL returned error: 403
```


author: Kouichi C. Nakamura
body: It's been a month, but I still cannot clone via SourceTree GUI.

It ways "Invalid username or password".

But I'm using the registered Bitbucket account.

Opening my Bitbucket account by **Options \> Authentication \> Accounts \> Edit** , Edit Hosting Account window shows "**Authentication OK**".

Is there anything else I can do to fix this problem?

Pasting the command shown in the **Clone this repository** dialong of Bitbucket into MINGW64 terminal works. So it is a valid source path and authentication should be OK.


Tags: bitbucket-cloud

cloud

windows
stree command line tool no longer works in Sourcetree 3.0
Asked by Rob Allen:

I've updated to Sourcetree 3.0 and the command line tool \`stree\` no longer works.

I type:

```
$ cd /path/to/project
$ stree .
```

I expect Sourcetree to open and display a window with the workspace of my project.

What actually happens is that Sourcetree starts and does nothing else.

Does anyone else have this problem?


Answers:
author: Eric Hertwig
body: JTLUK

<https://twitter.com/AskAtlassian/status/1055502711829852160>

comments: author: Rob Allen
body: Good to know!


author: Eric Hertwig
body: ```
MacOS: 10.14 (18A391)
ST: 3.0 (200)
```

```
alias st='open -a SourceTree .'
```

Same here! My alias also didn't work anymore.

Eric


author: Rahmat Awaludin
body: Related jira ticket  
<https://jira.atlassian.com/browse/SRCTREE-6156>


author: kschnack
body: I have the same issue also om MacOS 10.14.

I tried doing 'stree' and 'stree .' in a non-git folder and got the following error-message:

"No Git or Mercurial URLs found in arguments or current working path, see stree --help"

It seems that a git path is required for it to work even though it doesn't open it
Login windows popping up
Asked by mbezensek:

I'm having problems with Bitbucket login windows popping up. Sometimes it's 10 of them, out of the blue.

I enter my credentials (they are correct, I checked on the web), but the windows are still showing.![login.png](/t5/image/serverpage/image-id/35913i64C72EE22A5AD18D/image-size/large?v=v2&px=999 "login.png")


Answers:
author: Sander van der Stelt
body: It's from BitBucket self. their site gives a internal error also

comments: author: Sander van der Stelt
body: I think now you can login again
Continuously asking for CAPTCHA in Git/Sourcetree
Asked by Yogesh Mude:

Hi Team,

Whenever the user is trying the check in the code through Git terminal then the CAPTCHA window is popped up for each time.

I have clear the CAPTCHA for many times still it is asking the same...this happens for only two users.

Anyone has gone through this, if so, their suggestion will be more helpful.


Answers:
author: minnsey
body: Hi  

Can you clarify, are you doing a git push to a Bitbucket repository from the terminal and then getting a popup dialog asking you to enter credentials and in that process getting CAPTCHA requests?  

If so those users should explicitly logout out of Bitbucket.org and then log back in, this should clear any locks on their account.  

There have been some issues with the Git Credential Manager that ships with Git for Windows, the current most stable setup is to use Git for Windows 2.19.0 which contains Git Credential Manager 1.17.1. You can configure Sourcetree to use this as a System Git in Tools/Options/Git tab


Tags: bitbucket

bitbucket-server

code

commit

git

server

windows
Custom actions
Asked by alehinsasha:

In the screenshot, a yellow background highlights the free space on the panel. How can I transfer custom actions to this free space?![2018-10-24_22-45-02.png](/t5/image/serverpage/image-id/35860iA103ED568D20041E/image-size/large?v=v2&px=999 "2018-10-24_22-45-02.png")


Answers:
author: minnsey
body: Sadly the toolbar is not currently customizable, though it is a good idea. Please raise a feature request at <https://jira.atlassian.com>
How to stop the Authenticate popups plague?
Asked by amv:

![source-tree-popups-plague.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/35834i2EFA9A8C29DC6A4E/image-size/large?v=v2&px=999 "source-tree-popups-plague.PNG")


Answers:
author: Ana Retamal
body: Hi Andrei, welcome to the Community :)

Can you give us some more context so we can help you with this:

1. Are you using Sourcetree for Windows or for Mac?
2. What is it requesting access to? Bitbucket Cloud, Github...?
3. When does this happen? Where you performing any action with any of your repositories?
   * If so, does it happen for every repository?

Let us know!

Ana

comments: author: amv
body: Hi Ana,  

I'm using SourceTree for Windows and what I did was to remove the passwords file located at:  
c:\\Users\\\[username\]\\AppData\\Local\\Atlassian\\SourceTree\\passwd  
Did that because authenticating to one repo (VS online) was problematic, so I wanted to trigger new authentication.


Tags: authentication
Cannot pull from Github with Two-factor authentication
Asked by aamir:

I've been trying to Login to my Github Account from Source tree using OAuth and Basic account and We use two factor authentication for Github login in my organisation, I'm able to login via Oauth but as soon as I pull a repository, i get error saying invalid credentials.

- I tried changing to system git

- updated my Source Tree to latest 3.0.8.2279

- updated system git to 2.19.1

![1.PNG](/t5/image/serverpage/image-id/35810i9BBBE7F9FC5584ED/image-size/large?v=v2&px=999 "1.PNG")


Answers:
author: minnsey
body: Hi this is due to a bug in the Git Credential Manger, we are working with the maintainers to get this fixed.  

<https://github.com/Microsoft/Git-Credential-Manager-for-Windows/pull/800>


Tags: 2-factor-authentication

authentication

git

github
How to add Russian dictionary to SourceTree spell checker?
Asked by MarvelTM68:

How to add Russian dictionary to SourceTree spell checker? I would like to see Russian spell check in SourceTree.


Answers:
author: nrslm
body: ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/139478i1301056224FD9B70/image-size/large?v=v2&px=999 "image.png")

How do I add a Russian dictionary?


author: Ana Retamal
body: Hello ?????????!

You can select Russian for the spell checker. In Sourcetree for Windows, navigate to **Tools \> Options \> General** tab and you'll be able to set the spell checker language.

Let us know if you need any further assistance.

Best regards!

Ana

comments: author: MarvelTM68
body: I no such spell checker language Russian in my SourceTree application.

![60.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/36063i8305102E4C29E759/image-size/large?v=v2&px=999 "60.PNG")
SourceTree 3.0.8 removes mergetool and difftool settings in .gitconfig
Asked by Rene Adomeit:

Hi, everytime I close SourceTree, it removes the mergetool and difftool settings from my .gitconfig file. This also happens when I start the application and immediately close it afterwards. This results in SemanticMerge not being available as external diff/merge tool.

My .gitconfig looks like this:

\[user\]  
name = User  
email = user@email.com  
\[gui\]  
\[mergetool "sourcetree"\]  
cmd = 'C:/Users/myusername/AppData/Local/semanticmerge/semanticmergetool.exe' -s \\"$REMOTE\\" -d \\"$LOCAL\\" -b \\"$BASE\\" -r \\"$MERGED\\"  
trustExitCode = true  
\[difftool "sourcetree"\]  
cmd = 'C:/Users/myusername/AppData/Local/semanticmerge/semanticmergetool.exe' -s \\"$LOCAL\\" -d \\"$REMOTE\\"  
\[filter "lfs"\]  
smudge = git-lfs smudge -- %f  
process = git-lfs filter-process  
required = true  
clean = git-lfs clean -- %f

Could you please check? Thanks


Answers:
author: armujahid
body: This is a known bug and its also reported here: <https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-WIN-3-0-8-forgets-external-diff-tool-selection-on/qaq-p/932218>  

Atlassian team is working on a fix.


author: jlewin
body: I've also been seeing this recently. Every time I try to resolve a merge conflict it fails as the P4Merge path has been reset and I have to abort, go to Sourcetree settings, specify the path to P4Merge and restart to try again. Super frustrating
Seems that external diff launch doesn't work on 3.08, is it a bug?
Asked by paolonenna:

Hi,

I have just updated my SourceTree (Windows) to 3.08 and if I set my cursor on a file (in Log/History tab) and press Control + D for launching the external diff tool it seems that is not launched correctly.  
It sounds like a bug, but probably I am performing some wrong operation. Could you verify?

On the release 2.6.10.0 it run.

Thanks and best regards

Paolo


Answers:
author: minnsey
body: Hi  

This seems to be working for me, trying KDiff and System Default options, using semanticmerge, are you using custom seettings?

comments: author: paolonenna
body: Hi Michael,

thank you for your answer.

I have deleted the "app-3.0.6" folder installed during the previous update and now the 3.0.8 version works correctly. I use WinMerge with the default settings.

Thank you again for your prompt answer and best regards.

Paolo


Tags: windows
Source Tree Remote branch to pull reset everytime
Asked by pedro380085:

Hi,

Everytime I click on **Pull**, the "Remote branch to pull" option presents the "Select a branch" option. So I have to click on Refresh, wait 5 seconds, select master and then click ok.

I must do this everytime I pull anything.

Why doesn't it realizes I'm in the master branch? Or even less, why does it reset everytime I click on **Pull**?

![Screen Shot 2018-10-23 at 18.23.55.png](/t5/image/serverpage/image-id/35772i7B1B2009D695AC3C/image-size/large?v=v2&px=999 "Screen Shot 2018-10-23 at 18.23.55.png")


Answers:
author: pedro380085
body: it works, when I switch to embedded git.

comments: author: Gary Bartlett
body: Thank you! This was driving me nuts too.


author: tutuge.zekunyan
body: Thank you so much !


author: Ian Wilkinson
body: This doesn't work for me at all. Any other ideas? The resetting of the remote branch is really annoying and something I never previously experienced using Source Tree.


Tags: mac
Error messages are in German all of the sudden
Asked by freder:

I recently noticed that when an error occurs (for instance when pushing), the message is in german (which didn't use to be the case). I'm using the system git, and everything is fine (english) in the command line. *--- what's happening?*


Answers:
author: freder
body: it works, when I switch to embedded git.


author: pedro380085
body: Mine are in Turkish... No idea why too.
Tagged my code but can't see the tagged version in Bitbucket
Asked by Geetanjali Sharma:

I commit my changes and merge to the master code and then Tag it in Sourcetree. But when I go looking for this Tagged version in Bitbucket under Source, I can't find it. What went wrong here?

Thank you for your help in advance.


Answers:
author: Mikael Sandberg
body: Hi Geetanjali,

Welcome to the Atlassian Community.

When you created the tag, did you do it from the command line or from within Sourcetree? If you did it from command line did you use -a or --annotate? If you did it from Sourcetree, was the lightweight option selected? Bitbucket will only show annotated tags. You can check if your tag is annotated or not by running

```
git show <your_tag_name>
```

If the tag is annotated you will a message, the tag object and the commit.

comments: author: Geetanjali Sharma
body: Hi Mikael,

Thank you very much for your answer. I did not use command line, I did it from within Sourcetree. I am starting to explore command line after you mentioned it here.

Thank you again.

Geetanjali


Tags: bitbucket
HOWTO change URL on a repo in Bitbucket.
Asked by John Brumbelow:

Please help,

We have created a repo in Bitbucket.org, but the URL shows the owner's personnel name. After an extensive search and many efforts to try and use repo settings, there does not appear to be anything to let one change the url.

All documentation on-line from bitbucket.org, does not show something that actually exists on the same bitbucket.org screens to change the url.


Answers:
author: minnsey
body: Hi  

I'm assuming you are referring *https://username@bitbucket.org/rog/repo.git* style URLs?  

Bit bucket will always serve you up with a URL of this form, based on the currently logged in user. However *<https://bitbucket.org/rog/repo.git>* is a valid URL as well.  

You can change your local copy of this in Sourcetree in the Repository Settings, behind the cog in the upper left. **But** be aware the credential management in Git makes use of the URL, if you are using more than 1 set of credentials to access Bitbucket.org you should really continue to use the username prefixed URL to avoid confusiuon.


author: John Brumbelow
body: Thanks for the reply. bitbucket.org does not have in its GUI "behind the cog in the upper left".

From bitbucket.org, to then click on the repo, to then choose "Settings", there is no option, (and I am admin to the repo), to "change" anything, let alone change repo URL.

If I could send screen shots, I would. Sadly, I am not permitted. Can perhaps you use something like WebEx to assist?

comments: author: John Brumbelow
body: This issue is now blocking.

The current Bitbucket.org out-of-the-box, is including our personnel user name in the url. This is not acceptable, and a security risk.


author: minnsey
body: Sorry I meant upper **right** in **Sourcetree.**   

I don't believe you can remove the username from the URLs in bitbucket itself. However the username only reflects the current logged in user, e.g. if I log in it will show my username, if you log in it shows your.
What does the "rebase on development branch" exactly causes in Finish feature?
Asked by sdepner:

![Rebase on development branch.JPG](/t5/image/serverpage/image-id/35563iE0C9FD66E974FD0E/image-size/large?v=v2&px=999 "Rebase on development branch.JPG")

What does the "rebase on development branch" exactly causes?

Where does the rebase take place? On the Feature branch or on the develop branch?


Answers:
author: minnsey
body: It will rebase the feature branch on to the development branch before merging  

<https://github.com/petervanderdoes/gitflow-avh/blob/develop/git-flow-feature#L630>
Sourcetree hogs the CPU, the green progressbar in the upper left corner keeps filling
Asked by ????? ????????:

Good day.

A couple days ago I noticed that while Sourcetree is open, it seems to hog a lot of CPU resources, to the point where my mouse cursor lags as I move it around with Sourcetree focused. The green progressbar in the upper left corner also keeps filling nonstop.

This doesn't seem to be the same case as in this <https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-high-CPU-load/qaq-p/741803> topic, as I don't see any interface refreshing, and the sourcetree process viewer doesn't show any abnormalities.

If it's any help, I've encountered this bug after simultaneously updating to sourcetree 3.0.6 and moving my project from an hdd to an ssd. I'm running win7 x64.


Answers:
author: minnsey
body: Hi  

Thanks for reporting this. Could you try soemthing to help narrow it down?  

Shutdown Sourcetree  
Backup your %localappdata%/Atlassian/Sourcetree/bookmarks.xml and opentabs.xml  
Re-open Sourcetree and add a single repository from the SSD  

Do you get the same performance issues?  

If you do the same above but open the same repo from a hdd, if you still can, what happens then?

comments: author: ????? ????????
body: Thanks for your reply!

Re-opening a repository from a SSD like that leads to the same situation.

When opening the same repository from the HDD, the green progress bar also keeps ticking perpetually, but the CPU load is much lover, only in the lower 10s.


author: ????? ????????
body: The problem is still not solved, can I have any other opinions?


author: minnsey
body: Anti-Virus? We have had reports of some AV setting aggressively scanning Sourcetree processes.
Sourcetree is only installing in 32 bit how do I fix please
Asked by axemwa:

Sourcetree is only installing in 32 bit causing massive lagg how do it fix?


Answers:
author: minnsey
body: Hi, in order to support older Windows versions Sourcetree for Windows is only a 32-bit app. However it will work with 64-bit Git.  

Install 64-bit Git and in Tools/Options/Git tab select that installation as a *System Git* install

comments: author: axemwa
body: oh thanx i was informed that source tree was 64 bit aswell, I managed to fix it by turning off auto sync then turning it back on. Goes heaps quicker now! and thanx for the Git tip


author: axemwa
body: might still wanna have the team look at the way the auto sync/update works in windows 10 x64 bit computers tho, could be a bug
Why can't I login to atlassian via sourcetree while have no problem logging into the bitbucket site?
Asked by Ryan J. Decker:

I login to bitbucket.org no problem via the Web site.

I use my exact same account with sourcetree and can't authenticate to push changes to the server.


Answers:
author: Ryan J. Decker
body: I had to delete the passwd file to authenticate push / pull requests from SourceTree to BitBucket. Here's where I found my solution:

[https://community.atlassian.com/t5/Sourcetree-questions/How-to-update-HTTP-S-credentials-in-sourcetree/qaq-p/297564](https://community.atlassian.com/t5/Sourcetree-questions/How-to-update-HTTP-S-credentials-in-sourcetree/qaq-p/297564 "Delete the passwd file to authenticate SourceTree to BitBucket")

Here's what I did...

I deleted this file:

%USERPROFILE%\\AppData\\Local\\Atlassian\\SourceTree\\passwd

Then I simply attempted a push, signed in to bitbucket from a prompt, signed into a second prompt, then the push worked and I haven't had a problem since then.

comments: author: Ana Retamal
body: Thanks for sharing your solution with us, Ryan :)

Have a great day,

Ana


author: Ana Retamal
body: Hi [@Ryan J. Decker](/t5/user/viewprofilepage/user-id/2159878), welcome to the Community!

We need more info to troubleshoot your issue:

* It sounds like you might be using Windows, if so, is Internet Explorer updated to the latest version? (Sourcetree relies on it for the authentication step)
* What steps are you following to connect your Bitbucket Cloud account?
* Are you getting any error message? Can you post a screenshot?

Let us know!

Ana

comments: author: Ryan J. Decker
body: Thanks [@Ana Retamal](/t5/user/viewprofilepage/user-id/1067288)but I figured it out.


Tags: authentication
Transfer ownership of workspace home/root page
Asked by Brad Allan:

When I create a new workspace, the root page of the workspace is in my ownership. How to a transfer the page ownership to the owner of the workspace?

I have self discovered the long winded workaround (IMO) of creating a new page in the workspace and setting that as the home page.

Is there any way to not do the workaround?

And if not, please point me at the bug so I can upvote.

thanks


Answers:
author: Nikola Perisic
body: Hello [@Brad Allan](/t5/user/viewprofilepage/user-id/4747918)

To transfer the ownership, by the "Owned by \[First Name\] \[Last Name\] created with a template" click on three dots and choose "Change owner". From there you enter the user that you want to be the new page owner.

comments: author: Nikola Perisic
body: ![Screenshot 2024-02-12 at 16.08.09.png](https://community.atlassian.com/t5/image/serverpage/image-id/305852i640D242D0AA4FEA6/image-size/large?v=v2&px=999 "Screenshot 2024-02-12 at 16.08.09.png")


author: Brad Allan
body: thanks for replying.

Click on 'Test Space' to see the default home page of your workspace.

Are you able to change ownership of the page?

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/305859i69BCE25EAF36FDAB/image-size/large?v=v2&px=999 "image.png")


author: Nikola Perisic
body: No problem [@Brad Allan](/t5/user/viewprofilepage/user-id/4747918) .

Pardon of my overview of this issue. There is an option to change the page owner, but sadly this is not possible for changing the space owner.

This page is a great reference: <https://community.atlassian.com/t5/Confluence-questions/is-it-possible-to-change-the-owner-of-a-space/qaq-p/2465633>


author: Brad Allan
body: thanks.

Really seems pretty illogical. Clearly the home page is a content page because I can workaround the issue as stated above. Anyway, upvoted wanting it 'fixed' (no one could possibly argue this is not a defect).


author: morgan.thompson
body: I would also like a fix for this. It's not even possible to work around using the page properties macro.

Where can I vote on the issue?


Tags: cloud

confluence-cloud