youngmon/atlassian-qna huggingface dataset:
Sourcetre Mercurial: I somehow have some weird branches and I need to get rid of them
Asked by zukalous:

Somehow I ended up with this situation (see screenshot)

Here Is my goal. I just want "Updated player" to be the main, the tip, the default, the everything. I want to get rid of "Backout changes" and "merged" I don't need them. The only reason they are there was because I was trying to make "Updated player" the top of the tree.

Basically I wish there was a little trashcan icon next to the top two dots so that I could click them and then they would go away and then "Updated Player" would be at the top.

What do I do to get rid of them (I seriously have 0 data in them that I want to save. Everything I want is in "updated player"

(See below for software versions)

![](https://i.imgur.com/Dec4w3s.png)

using sourcetree 3.0.15

Using mercurial


Answers:
author: minnsey
body: Hi  
The following might help you  
<https://stackoverflow.com/a/6933807>


Tags: mercurial
Can't login to GitHub with Sourcetree Mac
Asked by Joselyne Banegas:

I try to login put keep me in this screen and also tried to manually authorize on github put didn't work.

Sourcetree 2.7.5

Mac Os 10.12.16

![Screen Shot 2019-03-31 at 12.51.31 AM.png](/t5/image/serverpage/image-id/50067iBA95F8FC92416E4B/image-size/large?v=v2&px=999 "Screen Shot 2019-03-31 at 12.51.31 AM.png")


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Joselyne Banegas](/t5/user/viewprofilepage/user-id/2955338) ,

take a look to the following similar question <https://community.atlassian.com/t5/Sourcetree-questions/Connecting-to-github-from-Sourcetree-hangs-after-credentials/qaq-p/1034983>

Fabio


Tags: git
SourceTree Setup interface misses the github option
Asked by y498wu:

My sourcetree version is Mac 3.1.1.

![Screen Shot 2019-03-30 at 11.45.28 AM.png](/t5/image/serverpage/image-id/50053iBC5527BA9409CEF4/image-size/large?v=v2&px=999 "Screen Shot 2019-03-30 at 11.45.28 AM.png")

Its interface is different from the Setup interface I see on this website.

I want to use my github account to login which I don't know how to.

Please help! Thanks!


Answers:
author: Ana Retamal
body: Hi Yeshu, welcome to the Community!

That image that you're showing us is the registration step, you have 2 options to register: you can use your Bitbucket Server account, or your Bitbucket Cloud account (or what is the same, your Atlassian account).

Once the registration is completed and the installation finished, you'll be able to connect your Github account following the steps [here](https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html). If you're having difficulties with that, please let us know and send us a screenshot so we can continue helping you.

Lastly, and for security reasons, it's advisable that you remove your email address from your message.

Kind regards,

Ana
I need help
Asked by Liu Luca:

fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.


Answers:
author: Nic Brough -Adaptavist-
body: This is a common error when you have the credentials wrong or are trying to connect to a non-existant repository.

Please check that the repo exists first, and then ask the owners of it why you do not seem to have access.

comments: author: Liu Luca
body: Thank you. I fixed it
External diff command source-tree inserting \r\n in process Log and does not run
Asked by Mark McCain:

Here is an output of the saved process log

git\\r\\n-c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks difftool -y --tool=sourcetree cdba7a26dc67689da83018e619c8195a58a6f4bf\^..cdba7a26dc67689da83018e619c8195a58a6f4bf --\\r\\nmarktestfile

This does not work because of the inserted "\\r\\n" by source tree. If I run this command less the "\\r\\n" in the terminal it works, any thoughts? Thanks.


Answers:
author: minnsey
body: Hi  
The carriage returns are just an artifact of the process viewer as far as I can see, I.e. I see the same in the process viewer but the external diff program opens.  

What does the git config look like?

comments: author: Mark McCain
body: Hi Michael, thanks for the response,

If I take this command place it in a terminal and remove the "\\r\\n" then it launches beyond compare, but it will not launch if I don't do that. It does nothing.

Here is the .gitconfig file in my user folder:

\[user\]

name = xxxxxxx

email = xxxxxxx

\[credential\]

helper = manager

\[gui\]

recentrepo = 'C:/xxxxx/yyyyy'

\[difftool "sourcetree"\]

cmd = 'C:/Program Files/Beyond Compare 4/BComp.exe' $LOCAL $REMOTE

\[mergetool "sourcetree"\]

cmd = 'C:/Program Files/Beyond Compare 4/BComp.exe' $BASE $LOCAL $REMOTE trustExitCode = true

\[merge\]

tool = sourcetree

\[diff\]

guitool = sourcetree


author: Terris Linenbach
body: External diff (beyond compare, or anything else) doesn't work for me using 3.1.2 and HIgh Sierra. I am still debugging. Logging doesn't work either. It "used to work." In the task manager the error is

Unknown merge tool sourcetree

Which is odd since preferences/diff is correctly configured.

Issue reported against Windows, have yet to find someone see this with OSX:

<https://jira.atlassian.com/browse/SRCTREEWIN-11120>


author: minnsey
body: Hi [@Terris Linenbach](/t5/user/viewprofilepage/user-id/1248110) You should raise an issue against the macOS version at <https://jira.atlassian.com/browse/SRCTREE>


author: Terris Linenbach
body: Done
I keep getting this sourcetree error. Please Help!
Asked by Adyn Skowronski:

I get

'git tag' failed with code 128: fatal: unable to access 'H:V.config/git/config': Invalid argument

(My file name here).

Thanks!


Answers:
author: Ana Retamal
body: Hi Adyn, welcome to the Community!

We'll need more information to help you troubleshoot this issue:

1. When exactly are you getting that error? Which operation are you performing? What happens when you perform other operations?
2. Are you using Sourcetree for Windows or Mac?
3. Does this happen only with a certain repository?

Let us know!

Best regards,

Ana


Tags: git
Update Failed: Problem Adding SSH Key & Loading Owners Failed
Asked by PatrickShea814:

I am now receiving the following errors. I have searched and tried various things to fix the issue but no luck. Extremely frustrating because the "Upload Failed" notification cuts off and if you click it nothing happens it goes away so I am not even entirely sure of the entire message.

<br />

++**When trying to update my GitHub connected account:**++

![Screen Shot 2019-03-29 at 2.36.56 PM.png](/t5/image/serverpage/image-id/50018iCFC66795AA7ED9E4/image-dimensions/498x103?v=v2 "Screen Shot 2019-03-29 at 2.36.56 PM.png")

++**When trying to create a new remote repo:**++

![Screen Shot 2019-03-29 at 2.36.39 PM.png](/t5/image/serverpage/image-id/50019iE84AC42C2FCD2455/image-dimensions/384x220?v=v2 "Screen Shot 2019-03-29 at 2.36.39 PM.png")


Answers:
author: Toyz Stark
body: I found a way to deal this. First, open the account set, then change your authorize type from OAuth to basic.It works.

comments: author: singsam j
body: it's work for me. But I want to know why?


author: Toyz Stark
body: Actually, I have the same problem.


author: Sapir Shloush
body: Any suggestions? i have the same problem ...


Tags: github

ssh
Anyone else unable to get SourceTree 3.1.2 to respond?
Asked by tillig-fisv:

I'm on SourceTree for Windows 3.0.17. Works great.

It is alerting me that SourceTree 3.1.2 is available.

I have taken the upgrade, but as soon as it restarts it stops responding - like in Windows you see it says "SourceTree (Not Responding)" and it takes about 20% CPU. I left it like this for about 10 minutes and it never came back.

I did a clean uninstall, removed all my user settings from %LOCALAPPDATA%, the whole thing, and downloaded a new copy from sourcetreeapp.com. It's still 3.0.17 there.

I installed and immediately took the upgrade. On restart, same result - "SourceTree (Not Repsonding)".

I did yet another clean reinstall of 3.0.17 and I'm not taking the upgrade this time. I'm curious if anyone else has seen this and what the fix might be.


Answers:
author: Mauro
body: yes, old bug from january, it happens if you monitor has a scale greater than 100%. Still they have not fixed this, incredible... I will move to another tool


author: Jason_Price
body: I am also having the same issue.


Tags: windows
Where do I find the "Get help" tab?
Asked by Sarah Doherty:

I need to create a support request and I don't see the option for the get help tab.


Answers:
author: Andy Heinzer
body: Hi Sarah,

How you get support from Atlassian can vary depending on the product in question and your license agreement. I'm not sure what product you are using here so forgive me, I'm going to write up a broad answer for many use cases here.

For Server product users with a 10 user starter license, or for free products like Sourcetree, all the technical support for these products are provided here in our [Community site](https://community.atlassian.com). More details about the levels of support can be found in [Atlassian Support Offerings](https://confluence.atlassian.com/support/atlassian-support-offerings-193299636.html).

However if you're using one of our Cloud products like Jira, Confluence, etc, you can go to <https://support.atlassian.com/contact/>

This contact page will provide you different kinds of support requests, such as Billing or technical support.

* In the case of Cloud sites, you will need to enter in the URL of your cloud site to be correctly routed to the appropriate support channel for you.
* For Server customers, in order to get support from Atlassian you need to know your SEN number (support entitlement number). This is included in the license with the license key that can be accessed by the billing and technical contacts in <https://my.atlassian.com>

If you do not know your SEN, it's possible that technical questions would be routed directly here to Community instead.

I hope this helps.

Andy


Tags: atlassian-support
How to authenticate to a remote git server through a token? (yubikey)
Asked by Serhii Filoniuk:

Hi everyone!

Our git-server use authentication by password+ token (yubikey). When I try to push changes through the terminal (or built-in phpstorm git client), it asks me input password then token, I touch my yubikey and everything are pushed to the server.

How can I do the same using SourceTree?


Answers:
author: Mike Corsaro
body: Hello! At first glance it appears that properly supporting this in Sourcetree's UI would require more complex authentication interactions. We've taken a look at supporting Yubikeys in the past: it was a bit more complex than we expected and we didn't have much data about how users utilized Yubikey authentication.

So for now: please file a ticket for users to vote on and watch in our public bug trackers ([Mac](https://jira.atlassian.com/browse/SRCTREE), [Windows](https://jira.atlassian.com/browse/SRCTREEWIN)) as that allows us to prioritize and roadmap for future releases. Fill free to give us information about your setup which will help us address this in the future.

Thanks!
Can't push to gerrit as sourcetree doesn't ask for password.
Asked by erik_scheffer:

At work we use [Gerrit](https://www.gerritcodereview.com/ "Gerrit") and push to it. To push to gerrit, we need to use the command

git push origin HEAD:refs/for/\<branch\>

This command works on GitBash and I tried to make it a custom command on Sourcetree, but it doesn't work as sourcetree never as for password and I get the erro "Permission denied (publickey)". Does anyone why Sourcetree doesn't ask for password when Gitbash does?


Answers:
author: minnsey
body: Is the password to open the SSH Key?
Authentication Error - "remote: Invalid username or password"
Asked by ucjira:

I followed below link process still im getting authinticcation error - remote: Invalid username and password. I deleted sourcetree and installed latest version still same issue. I removed all old credentials. I faced same issue again and again . I tried allot. How to resolve issue.   

[https://confluence.atlassian.com/bbkb/authentication-error-remote-invalid-username-or-password-942864127.html](https://confluence.atlassian.com/bbkb/authentication-error-remote-invalid-username-or-password-942864127.html "Authentication Error - \"remote: Invalid username or password\"")


Answers:
author: Ana Retamal
body: Hi UC Jira,

When are you getting this error? Are you trying to authenticate via the command line, or via Sourcetree?

If you're using Sourcetree directly, you can try [Wiping Sourcetree preferences.](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html)

If you're still encountering this problem, please reset your password at <https://id.atlassian.com>, log in to <https://bitbucket.org> to make sure they work, and then when you're asked for your credentials in Sourcetree, make sure you're entering the new ones.

Let us know how it goes!

Ana


Tags: windows

bitbucket
git merge-squash command
Asked by ?????:

?git merge-squash?  
Is it possible to do the same thing with this command with Sourcetree?


Answers:
author: Mehmet ?irin Usanmaz
body: Hi,

This question solved as in the following link.

<https://community.atlassian.com/t5/Sourcetree-questions/In-SourceTree-how-do-I-squash-commits/qaq-p/345666>

Thanks,

Mehmet Sirin

comments: author: ?????
body: Thanks

It is confirmation,

does accepted answer have same meaning as 'git rebase -i' command?
SSH-key i tried to add into bitbucket repo
Asked by SL5:

I tried again to clone on of my private repository.

it does not work this time.

my key is not valid or nonexistent.

I searched for and added a private key on the hard disk.

i addet my private key to SourceTree (private.ppk).

while start cloning one of my repo i got errors.

then inside prophertiey i pasteed the source of this key into the add key dialog.

it says: this key is invalid

funnily enough, but the up and download of another private repository works which also created at the beginning of this year in bitbucket. How is that possible?

here i did a video capure of my last try: <https://youtu.be/bDkxpG5gMpI>

![2019-03-27 09_16_58-Sourcetree.png](https://community.atlassian.com/t5/image/serverpage/image-id/49654i9E613D529798F577/image-size/large?v=v2&px=999 "2019-03-27 09_16_58-Sourcetree.png")

![2019-03-27 09_20_04-Table awaiting Action.png](https://community.atlassian.com/t5/image/serverpage/image-id/49655i7E2BA2828A6DAD2C/image-size/large?v=v2&px=999 "2019-03-27 09_20_04-Table awaiting Action.png")

![2019-03-27 09_27_19-Table awaiting Action.png](https://community.atlassian.com/t5/image/serverpage/image-id/49657i8F10EEFB82E4337C/image-size/large?v=v2&px=999 "2019-03-27 09_27_19-Table awaiting Action.png")

the problem stays

![2019-03-27 09_22_10-Table awaiting Action.png](https://community.atlassian.com/t5/image/serverpage/image-id/49656i6A808F63B49FFBCA/image-size/large?v=v2&px=999 "2019-03-27 09_22_10-Table awaiting Action.png")


Answers:
author: SL5
body: thanks


author: SL5
body: I was able to generate a public key in another way that has been accepted by bitbucket website.

means not with this tools overed from you in the tray menue.

means used command line window.

then i used some other tool to import.

please make some changes regarding usability. thanks


author: minnsey
body: It looks like the key you are trying to add might be in the wrong format?  

Have you tried creating a new test key using the instructions here? <https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html>

comments: author: SL5
body: yes I have created a new one today too. I left the default settings as they are. then I inserted the content of the private key per copy paste in bitbucket. and I get into the same problems


author: SL5
body: same problem now with the public key.

---- BEGIN SSH2 PUBLIC KEY ----  
Comment: "rsa-key-20190328"  
bla fo ....  
---- END SSH2 PUBLIC KEY ----

same errors as i showed above insode bitbucket web interface.


Tags: bitbucket

windows
Sourcetree git cli (terminal) stopped working. Permission denied (publickey).
Asked by Den B:

Guys hi,

As the title says source git cli (terminal) stopped working. Gives error:

Permission denied (publickey).  
fatal: Could not read from remote repository.

Please make sure you have the correct access rights  
and the repository exists.

Main Sourcetree UI push/pull buttons work fine.

Cli worked before, not sure what's the cause.

Details: Windows, Putty.


Answers:
author: minnsey
body: Hi, not obvious what is going wrong, is this the cli opened from the Terminal?  

Have you switched to PuTTY from openSSH at all?  

What Git version are you running?


Tags: ssh

terminal

windows
Submodule commit log in diff
Asked by anbugge:

The diff view for a submodule currently only shows the hash of the old and new commit, something like this:  
-Subproject commit 3316cc47b1d73b768b697a0607a4e7388156973d  
+Subproject commit 1363047c97e7721e0078eef57fdfbaa478c61a85  

Would it be possible to also show the commit messages for the range? Something like the output of git log --oneline \<old_commit\>..\<new_commit\>?

That would be immensely useful when reviewing the history of a project containing several submodules.


Answers:
author: minnsey
body: Hi  

You can raise an improvement/new feature request at <https://jira.atlassian.com>


Tags: submodule
Git-Flow workflow not initializing properly
Asked by Michal Gasparovic:

Hi, previously when I've initialized the Git-Flow workflow via the button, it has nicely created the /develop branch and once the button was pressed again, it offered me all the valid actions (Create Feature...)  

Now when I enable the Git-Flow workflow, it generates the /develop as feature, and when I click the Git-Flow button, it offers me to 'Finish Feature - Develop'. If I click the 'Other Actions' -\> 'Create Another Feature' it creates it, but not in the dedicated /features/ folder.  

There is something fundamentally wrong or I've missed the breaking changes release.  

I'm using the latest SourceTree for Windows and the bitbucket cloud repo  

Thank you


Answers:
author: minnsey
body: Hi   

If you are using Git 2.21.0 there seems to be a bug with Git-Flow <https://github.com/git-for-windows/git/issues/2139>

comments: author: Michal Gasparovic
body: Yep, updating the git helped. using some pre-release version for now... thank you


Tags: windows
SourceTree v3 for Mac: How to change default folder for clone?
Asked by robr2112:

Using SourceTree v3.0.1 for macOS, I am cloning remote repositories.

Each time, SourceTree wants to clone this into my user "home" folder. I don't want these projects to be cloned to this location. I want to change the \*\*default\*\* to use a different folder so I don't have to do this every time.

Other community posts indicate that this can be changed using options on the "Tools" menu. However, the macOS version does NOT have a "Tools" menu. And, I've searched everywhere I can think of but I cannot find any equivalent way to change this.

Is this just a feature the developers never added to the macOS version? (If so, developers are you listening?)

Or, is there a way to do this that I just haven't found yet?


Answers:
author: windwagon
body: Go to the General Tab in SourceTree Preferences. At the top of the section "Miscellaneous" there is a window to choose the "Project Folder".

comments: author: robr2112
body: Thanks! There it is, hidden in plain sight!
Can't log into Bitbucket with SourceTree
Asked by Brad Stewart:

No problem logging to BitBucket from a browser. But when the log in window appears in SourceTree, no matter what I do, I cannot log it.

What gives?


Answers:
author: rufino
body: Hi, I have the same problem on windows from 2 days ago. I've tried anything, but I can't login from SourceTree, although I have no problem to login on bitbucket.org and on id.atlassian.com

I have already tried the following with no success:

- resetting password

- login with username, with email and with username@bitbucket.org

- going to Tools \> Options \> Authntication and removing all stored accounts

- trying to login with both OAuth and Basic options. With Basic login I am asked the password on SourceTree and I get a green OK saying login has succeed, but when I try to pull, then login prompt window appears asking me the password again and there is no way to login

- going to id.atlassian.org accounts settings, revoking OAuth, and creating an OAuth again from SourceTree, verifying it has been correctly created on id.atlassian.org

Is there any steps I can try or anything I am missing?

Thank you in advance.

Rufino


author: minnsey
body: Hi  

Can you provide some more information, what response do you get?  

Are you on Windows or Mac?


Tags: bitbucket

login
Is there a way to replicate the Space level permissions from group to another?
Asked by Raj Krishnasamy:

I have a new group gets synched through Identity Provider (Okta). I need to move the users (gradually not all at once) from another existing group to this new one.

Is there way to replicate all the permissions the old existing group to new one?

Both the groups will co-exist for a while until I migrate all the users from old to new. So I just want to replicate all the space level permissions only.


Answers:
author: Raj Krishnasamy
body: It appears that there is no Admin level UI to do. I submitted a ticket to Support team. They helped to replicate the permissions from one group to another. I am hoping this will be offered as feature at the admin portal in the future.


author: Raj Krishnasamy
body: Top reasons for creating new group -

- improve and enforce new security policies

- have a meaningful group name and meaning ways to group the users.

I was able to do a work around by naming the group name in Okta exactly as in Atlassian and then synch using group push. This is not a clean solution but better needing to go at the each space and replace with new group name. I wish there is way to rename the group or replicate all the permissions from one group to another.


Tags: cloud

confluence-cloud

okta

permission

scim

space

user-group
Upgrade Path for Confluence Server 7.13.20 to 8.5.6
Asked by Steve Preston:

We are still on a server license and are looking at whether we want to go to Data Center or the Cloud. During our analysis, we found some security vulnerabilities in our current Confluence version (7.13.20). We are not ready to go to the cloud or data center yet, so we are just upgrading to the last supported Server version (8.5.6) to secure the vulnerability ASAP.

What is the proper upgrade path for Confluence Server 7.13.13 to 8.5.6?


Answers:
author: Shawn Doyle - ReleaseTEAM
body: There are two paths to consider when upgrading.

My preferred path is to set up a new server on the latest OS and patches, install the latest Confluence version you are comfortable with, and then migrate the data over from the older server. There are pros and cons to this approach and I wouldn't recommend it to a novice.

However, if you need to upgrade in place, then this will be able to guide you through the proper paths needed. <https://confluence.atlassian.com/doc/confluence-release-notes-327.html>


Tags: unknown-hosting-type