youngmon/atlassian-qna huggingface dataset:
Sourcetree ssh keys no longer work
Asked by Garrick H.:

I have been using sourcetree for some time now and have had few issues. It is a great program. However, over the past couple of days, my ssh keys have started to be rejected by multiple git hosting site. Github, gitlab, etc. They continue to work with some repositories on Github but most attempts to push or pull result in an ssh rejection. I have tried importing my keys through pageant but I am told that id_rsa is unable to be imported for conversion to the ppk file. (I never had to generate this stuff before so I do not know why I need to now or why it isn't working in general). Any help would be much appreciated.


Answers:
author: Mike Corsaro
body: Hello! I'd recommend just re-generating your SSH keys and re-adding them to Github, etc. You can find [pretty easy-to-follow instructions here.](https://confluence.atlassian.com/sourcetreekb/generate-and-load-ssh-keys-into-sourcetree-with-putty-790629663.html) The instructions are for Bitbucket specifically, but the same process works for Github (you can add a new SSH key for Github [here)](https://github.com/settings/keys).


Tags: bitbucket

windows
There is no menu item for Registraion under SourceTree in the menu bar.
Asked by Hatem Sahli:

"Within SourceTree select from the menu bar "SourceTree \> Registration", click "Import License" to import the downloaded the license file."

There is no menu item for Registraion under SourceTree in the menu bar.


Answers:
author: bgannin
body: Hi [@Hatem Sahli](/t5/user/viewprofilepage/user-id/2462842),

This guidance is for the 1.x release series of Sourcetree and no longer applies. Registration is handled during the welcome wizard when first launching a more recent release. Hope that helps.

Brian Ganninger  
Principal Developer, Sourcetree
Git tags that have been removed via the command line locally and remotely still appear in SourceTree
Asked by Aydin Gungordu:

To delete all my local tags I ran git submodule foreach --recursive 'git tag \| xargs git tag -d'  
To fetch all the remote tags git submodule foreach --recursive git fetch -t

Saw no change in the tags on SourceTree

Closed SourceTree and reopened it.

Still has phantom tags listed.

If I push from SourceTree the tags that should not be there will be recreated remotely.


Answers:
author: bgannin
body: Hi [@Aydin Gungordu](/t5/user/viewprofilepage/user-id/3117400),

Please file a ticket with these details in the appropriate tracker ([Windows](https://jira.atlassian/SRCTREEWIN), [Mac](https://jira.atlassian/SRCTREE)) so we can triage there, other users can provide feedback, and we can prioritize for a future update. Thank you for the report.

Cheers,

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: Aydin Gungordu
body: Thanks [@bgannin](/t5/user/viewprofilepage/user-id/744444) , ticket filed:

<https://jira.atlassian.com/browse/SRCTREE-6649>
Github Enterprise Login - Unexpected char encountered
Asked by Joel Louie Miranda:

Using a Github enterprise account on source-tree with the correct host url gives the following error and could not use source-tree properly.

Host url: <https://github.example.com>

Preferred Protocol: HTTPS or SSH

Authentication: Basic

Username: just the shortname

Clicked "Refresh Password"

It gave the following...

> Unable to parse the response from the host service.  
> Please check the host url details for this account. It's likely that Sourcetree tried to contact an unrecognized service.  
> Unexpected character encountered while parsing value: \<. Path ", line 0, postion 0.
>
Please advise how can this be resolved. Sourcetree is better in my opinion.

Thanks


Answers:
author: Xia Han
body: Hi Ana,

I also have similar issue, can you help on that?

![Screen Shot 2019-07-04 at 10.51.56.png](https://community.atlassian.com/t5/image/serverpage/image-id/59566i0E968AB1253E2A0C/image-size/large?v=v2&px=999 "Screen Shot 2019-07-04 at 10.51.56.png")

comments: author: Xia Han
body: Regarding to github desktop, I think it should forward to browser to let the user to authenticate by some SSO or similar.


author: Vance Feldman
body: using SSH for enterprise accounts still fails with this error.


author: Vance Feldman
body: Found the solution. Create an access token from your enterprise account, then use that as your password. You still need to have your SSH keys setup, however.


author: iosmkarim
body: [@Vance Feldman](/t5/user/viewprofilepage/user-id/644330) it works


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

Can you send us a screenshot of your attempt at adding the Gitbug Enterprise account? I tried to reproduce your issue, but I couldn't find the option "Refresh password" (I'm on Sourcetree for Mac).

Also, for troubleshooting purposes, can you also let us know which Sourcetree version and OS are you using?

Best regards,

Ana
Getting Something Went Wrong trying to install Source Tree version 2.0.20.1.
Asked by kjenkins591:

My previous laptop died and I'm setting up a new dev environment. When I try to install Source Tree on Windows 7, I'm getting the Something Went Wrong error instead of the log in with google prompt. Looking for solutions, we tried everything including adding Altassian.com as a trusted source and setting up a new user, but nothing helps. Could someone please help? I've had many people here look at it and we're out of ideas.

Thanks,

Kathy


Answers:
author: kjenkins591
body: Thank you Mike. After receiving your reply. I found a local version of 3.1.2**.**I installed that and after figuring out that I needed a bit bucket account to install Source Tree, I created on and from there on it was smooth sailing. I've shared this info with my team so anyone else running into this will be aware.


author: Mike Corsaro
body: Hello! Sourcetree 2.0.20.1 uses Atlassian account for login, and is a no longer supported version. Please try using a newer version such as [3.1.3.](https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.1.3.exe)

Thanks!
How to show origin label in History
Asked by Carlos Maldonado:

In the Description part when viewing a branch History, SourceTree version 2.x showed labels for your local branch, like if your branch was up to date:

"master"/"origin master"

if your branch wasn't up to date:

"origin master"

... \<a number of commits here\> ...

"master 17 behind"

Now with version 3.1.2 (216), there's only my local label, no "origin \<name-of-branch\>". Is there a setting or something I'm missing as to why this label is no longer visible?


Answers:
author: Carlos Maldonado
body: Found the answer to my own question...

There's a pop-up menu just above "Description" header:

I needed to select "Show Remote Branches" in order for the remote (origin) label to show/hide.
SourceTree on Mac can't remember passwords
Asked by Peter Pebler:

I'm accessing a remote Mercurial repository over https using SourceTree on Mac. SourceTree is set to use the system mercurial (5.0).

Any time I access the repository, SourceTree prompts me for the password repeatedly. Although I have "Store Password in Keychain" checked, this apparently doesn't happen.

![Screen Shot 2019-05-08 at 5.15.44 PM.png](/t5/image/serverpage/image-id/53925i5C757014E12CCE17/image-dimensions/533x405?v=v2 "Screen Shot 2019-05-08 at 5.15.44 PM.png")


Answers:
author: Thomas Bousquet
body: [@bgannin](/t5/user/viewprofilepage/user-id/744444) Bumping this issue, as it still happening for helixteamhub.cloud in 4.0.1 (234), nearly one full year later.  
The fact that just for pulling, it asks the password twice is a very big UX friction.


author: bgannin
body: Hi [@Peter Pebler](/t5/user/viewprofilepage/user-id/20679),

Unfortunately I don't have an immediate answer to solve this problem. There are some underlying issues due to the complexity in the app's various authentication layers and the architecture as a whole is going to be revisited in a future release to definitively resolve issues such as the one you're encountering. Our apologies for the inconvenience, we appreciate your patience.

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: Dimo Dzhurenov
body: Is this issue fixed? I'm still getting this type of issue with v3.1.2

It's really annoying that I need to re-authenticate both my GitLab and GitHub accounts each time I re-open Sourcetree.


Tags: mac
How can I connect my Sourcetree to Github after enabling MFA on Github
Asked by peter:

I'm having trouble pushing my branch to origin, Source tree is saying that my Github Credentials are incorrect. I was able to Sign into Github using the same credentials. I also was able to push changes via command line.

I'm setting the Authentication type to OAuth and connecting via HTTPS. I keep getting incorrect credentials.


Answers:
author: Mike Corsaro
body: Hello! Are you using Windows, or Mac?

If you're using Windows:

* Try removing and re-adding the account + credentials
* Make sure git is up-to-date, and that the git-credential-manager-for-windows is up-to-date
* If none of those work, try re-adding the repository using SSH (add the SSH keys to github, and be sure to change the URL for the repository)

comments: author: peter
body: On a Mac.

Mac OS 10.14

Sourcetree 3.1.2

I got it to a state where the only way it can work is if I remove my github account, and then when I try to commit or push, it prompts me for a password to github, and I then enter my Personal Access Token from github. It works in that manner, but will be annoying each time I try to push or pull something. Any ideas?


author: peter
body: [@Mike Corsaro](/t5/user/viewprofilepage/user-id/842547) , I'm still having trouble with this, can you advise?


author: Mike Corsaro
body: I can only offer limited help on Mac issues, but could you try adding the account via "basic" authentication, and then use the Personal Access Token as your password rather than wait for the prompt?

If that doesn't work, I'd recommend that you switch your repository to use the SSH URL, and add a SSH key to your github account and to Sourcetree. If needed I can provide a short guide on how to do that.


author: peter
body: sure would you mind providing me with a guide if this method doesnt work
Why do I have to manually retype my password every time I launch?
Asked by sabiston:

Can't this program use the password stored in the keychain? It is such a pain to have to type my Github password every time I quit and relaunch -- especially since I have to quit and relaunch every time I want to see my changed files, since it doesn't update correctly on the Mac.


Answers:
author: bgannin
body: Hi [@sabiston](/t5/user/viewprofilepage/user-id/2767098),

It does make every effort to do so, along with SSH keys when configured, but runs into problems from time to time. There are some underlying issues due to the complexity in the app's various authentication layers; the architecture as a whole is going to be revisited in a future release to definitively resolve issues such as the one you're encountering. Our apologies for the inconvenience, we appreciate your patience.

Brian Ganninger  
Principal Developer, Sourcetree
How to go back to an earlier version?
Asked by sabiston:

I don't get how to revert changes I made. My project stopped working so I want to go back to yesterday's version. I found yesterday's commit in the history and tried both 'checkout' and 'reset master to this commit', but it seemed to leave the files I made today and it still shows unsaved changes. Is that the way it's supposed to work? How do I just make it ERASE everything I have now and reload the project from yesterday?


Answers:
author: Mike Corsaro
body: Hello! You should be able to do this by clicking "Discard" and selecting "Reset All". That should remove all pending file changes assuming you have not commited anything on your current branch.
Why my branch is not under "feature"?
Asked by Elena Grigorian:

I have a project on a "Develop" branch.

When using "Git-flow" in the past, I got a new branch called "feature" and under feature the name of the branch I've created.

Lately when on "develop" (develop is checked out), and I choose "git-flow" the options show:

Finish feature

Other options

I choose other options and create a new branch. The newly created branch is not under "feature" but in the same hierarchy as the "develop" branch.

My other team mate when she check out develop and click Git-flow she has options:

Create new feature

etc..

and when she creates a new branch it is under "feature"

All my repositories immediately suggest I "finish feature" when "git-flow" on develop...

WHY??

How can I fix that?


Answers:
author: Mike Corsaro
body: Hello!

It sounds like your git-flow config might be invalid. Could you post the contents of your 'config' file under "YOUR_REPO/.git"? It should look something like this:

```
[gitflow "branch"]
    master = master
    develop = develop

[gitflow "prefix"]
    feature = feature/
    release = release/
    hotfix = hotfix/
    support = support/
    versiontag = 
```

comments: author: Elena Grigorian
body: Hello,

It looks like that:

Should I assign the string manually?

![GitConfig.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/62954i8065406E45999834/image-size/large?v=v2&px=999 "GitConfig.PNG")


Tags: git-flow
could you develop 'auto commit message merge'
Asked by engineer sw:

i did pull my sources through Sourcetree but every time i must check attaching commit message merge, it was boring work every time..

do you have any plan for it?

thank you.


Answers:
author: bgannin
body: Hi [@engineer sw](/t5/user/viewprofilepage/user-id/3144582),

Please file a ticket in each of our public trackers ([Windows](https://jira.atlassian/SRCTREEWIN), [Mac](https://jira.atlassian/SRCTREE)) which allows users to comment, vote, and watch. This helps us know what to prioritize in future updates.

Cheers,

Brian Ganninger  
Principal Developer, Sourcetree
Sourcetree windows 3.1.3?
Asked by J?rgen N?rgaard:

I a bit curious, I have sourcetree 3.1.3 installed after the app suggested an update.

However on the website is only version 3.1.2. How come, I would expect it to be the same version as suggested for update?


Answers:
author: Ana Retamal
body: Hi J?rgen,

The updates get rolled gradually to our users, and only when the update has been rolled to 100% of our users will it be available on our website.

Hope this explains!

Ana

comments: author: RobertDAltman
body: Um... no. That doesn't explain it. I have several machines with SourceTree installed. A couple of them have version 3.2.6.3544, and apparently continue to get updates to newer 3.2.\* versions. But other machines are stuck at version 3.1.2.


author: Jason Armistead
body: This is a bit ridiculous. As of today, the official Sourcetree web site still only allows download of the Sourcetree version 3.1.3 for Windows. And yet, the latest available version that I can get via Tools -\> Options -\> Updates -\> Check For Updates button is 3.2.6

I have two PCs. One was checking for and able to apply updates OK. It just got updated to V3.2.6 today. But the other PC was stuck on V3.1.3 and wouldn't update.

So what could I do ? I couldn't use the built-in update mechanism because it was broken for some reason, and the Sourcetree web site link only gives me V3.1.3.

The solution ?

Hover over the download link, then copy and paste the URL into the browser address bar. Then change it from

<https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.1.3.exe?_ga=2.187265256.117146731.1566419931-1665721858.1566419931>

to

<https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.2.6.exe>

And that gives me the setup program for the Sourcetree V3.2.6 version that I need

Exactly why Atlassian is doing such a crazy thing is beyond me. There is no good way to EVER know that "100% of users" (however that is being tracked) have updated their Sourcetree applications on all their machines. We have a properly licensed and under-maintenance version of Bitbucket running on in-house servers and we just want to get the latest Sourcetree client. Why make it so hard for us and everyone else ???

comments: author: J?rgen N?rgaard
body: I like this ;-)


author: J?rgen N?rgaard
body: I had to go back to 3.1.3 after experiencing problems with push similar to

<https://community.atlassian.com/t5/Sourcetree-questions/When-trying-to-push-all-branches-are-gone-push-not-possible/qaq-p/1163583#M30928>

The dark mode is nice though.


Tags: windows
Adding a second repository
Asked by John:

Hi everyone,

I have my source tree repository working fine. However, i faced a need in which i need to have a second 'repository' for the files. For example, is it possible that in every push, the files will be sent to the repository AND/OR a custom folder (server folder).

I know my question is somewhat vague, but i'd like to have a starting point and know if it is possible or not. Every help counts to start working on this.

Thanks for all the help!


Answers:
author: bgannin
body: Hi [@John](/t5/user/viewprofilepage/user-id/3142810),

What you're describing sounds a bit like [Git LFS](https://www.atlassian.com/git/tutorials/git-lfs) with a custom backend/adapter to use your chosen destination instead of a hosting service.

Hope that helps,

Brian Ganninger  
Principal Developer, Sourcetree


Tags: bitbucket
Unable to write new index file (ERROR)
Asked by rylan coley:

When I try to stage this is what I get.

git  
-c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks add -f --  
BuildingEscape 4.22/.vs/BuildingEscape/v16/ipch/AutoPCH/517964f177e906ae/OPENDOOR.ipch  
BuildingEscape 4.22/.vs/BuildingEscape/v16/ipch/AutoPCH/463cc101d1c8d63d/OPENDOOR.ipch  
BuildingEscape 4.22/.vs/BuildingEscape/v16/.suo  
BuildingEscape 4.22/Source/BuildingEscape/OpenDoor.h  
BuildingEscape 4.22/Content/NewLevel_BuiltData.uasset  
BuildingEscape 4.22/Content/NewLevel.umap  
fatal: Unable to write new index file  
Completed with errors, see above.


Answers:
author: Nic Brough -Adaptavist-
body: It looks like it can't write to the disk properly. Check there is enough space and that you have permissions to read/write in there.

If that looks ok, you'll need to consult your operating system logs to see why the writes failed.
Sourcetree newer version has a bug when we start a new feature branch after initialization of git
Asked by sangeeta:

1. Initialize gitflow  
2. Start a new feature  
3. Create a feature branch  
4. It should be under feature/ but it is created without prefix feature/


Answers:
author: bgannin
body: Hi [@sangeeta](/t5/user/viewprofilepage/user-id/1177012),

Please file a bug report using the appropriate public tracker ([Windows](https://jira.atlassian.com/browse/SRCTREEWIN), [Mac](https://jira.atlassian.com/browse/SRCTREE)) and we'll triage it there.

Thanks,

Brian Ganninger  
Principal Developer, Sourcetree
SourceTree is losing the tab name
Asked by scottpbutler11:

Hi,

I recently updated to the latest version of SourceTree. (v3.1.3.3158). All of the tab names have reverted to the directory name where I keep the repo, not the name I gave the tab (or bookmark I think you call it). I have even closed the repo, re-opened it and given it the name I want. When I restart SourceTree, the name is back to the directory name.

Please help. This is really annoying as I have about 10 repos and most of the directory names are the same.

Best,

Scott


Answers:
author: Karl-Henry Martinsson
body: I have exactly the same problem. Something broke in the latest version. This is *very* annoying!

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


author: keith_peck
body: Yep, this is extremely annoying if you keep multiple tabs open and they ALL get renamed to dev when you re-open sourcetree.


author: Stefan Kamphuis
body: Same here...


author: furuta_masayoshi
body: Me too.

I use folder name is all "Projcet_git". lol.

Please return my tab name.

BR

Masa


author: zeravcic
body: Same here...


author: furuta_masayoshi
body: There are a few posts about this issue on jira.

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

I hope the problem is resolved as soon as possible.
Failure to edit Confluence Page: "Something went wrong while loading the editor"
Asked by Karien Maskelyne:

We've recently migrated from Confluence Server to Confluence Cloud and the two pages that I'm having problems with editing were originally created in the Legacy Editor. I've updated them to use the New Editor which introduced the editing issue.

Every time I want to edit the page the editing bar at the top is grey'd out and after a few seconds the following error pops up at the bottom of the page:

![Screenshot 2024-03-14 134645.png](https://community.atlassian.com/t5/image/serverpage/image-id/311999i0C89DD2748CA6274/image-size/large?v=v2&px=999 "Screenshot 2024-03-14 134645.png")

I've refreshed the page multiple times and the same message keeps popping up every time.

Other things I've tried include:

- Reverting the update from Legacy Editor to current editor which allows editing in the legacy editor. As soon as I transfer it to the current editor the problem starts again.

- I've logged out of Confluence, cleared my browser history, logged in using a different browser, incognito windows, etc. and still received the same error when trying to edit the page.

This issue only occurs on two pages - all other pages are currently in Legacy Editor and I have no problem editing them.


Answers:
author: Karien Maskelyne
body: **Update:**

I've reached out to Atlassian Support and they've been super helpful investigating and finding the issue. Ultimately the migration from the Legacy Editor to the new Editor resulted in the migration of a very specific part of the content that isn't supported by the new Editor. This results in the block of any edits to the impacted page.

They've raised a public reported bug - [CONFCLOUD-778](https://jira.atlassian.com/browse/CONFCLOUD-77893) -, but I'd suggest reaching out to them if you're experiencing the same issue as they can pin point the corrupted parts and fix it in the meantime.


author: marc -Collabello--Phase Locked-
body: Hi [@Karien Maskelyne](/t5/user/viewprofilepage/user-id/5339803) ,

Unfortunately the new editor won't work with all pages made with the old editor. I'd recommend to contact Atlassian support directly.

comments: author: Karien Maskelyne
body: Excellent! I'll reach out to them.

Thank you!


Tags: cloud

confluence-cloud

page-edit
Why is the app office editor for confluence not able to be installed. Is it not currently working?
Asked by Teodor Radoi:

When trying to use the office editor app after installation, trying to add with /officer editor or directly from the widgets, it says: "app is not responding" wait or cancel.  

I've waited multiple times and it does not work. Any thoughts?  

Thank you.

Teodor


Answers:
author: Barbara Szczesniak
body: [@Teodor Radoi](/t5/user/viewprofilepage/user-id/5452268) Welcome to the Atlassian Community!

You might want to contact Support for the creator of the app---see the **Support** tab in the app's page in the Marketplace.

comments: author: Teodor Radoi
body: Thank you.


Tags: cloud

confluence-cloud
??????????????????????????????????
Asked by tomoya.ohno:

confluence-users-\<sitename\>??????????????????????????????????????????ID????????????????????????  
??????????????????????????????  
?????????????????????????  
?????????????????


Answers:
author: Kishan Sharma
body: Hi [@tomoya.ohno](/t5/user/viewprofilepage/user-id/5452189) ?????? ???????????!  
??????????? -  
???????????????????????? ???????????????????????????????????????????????????????????????????????  
????? Atlassian ??????????????????????????????????????