youngmon/atlassian-qna huggingface dataset:
Import repository / Something went wrong
Asked by Guillaume Mackowiak:

Hello,

Trying ti import repository, I get 'Something went wrong'

I did not provide any repo uril, it s just when I hit the Import Url.

What's wrong with this ?

Best,

Guillaume


Answers:
author: Patrik S
body: Hello [@Guillaume Mackowiak](/t5/user/viewprofilepage/user-id/5171000) ,

Welcome to Atlassian Community!

It seems like you are being affected by a bug in our platform where when trying to import a repository from the [Overview page](https://bitbucket.org/dashboard/overview), the user is redirected to a HTTP 500 error page. This bug is currently being tracked in the following ticket on our public issue tracker :

* [BCLOUD-22458](https://jira.atlassian.com/browse/BCLOUD-22458)

I would suggest you to add your vote there, since this helps both developers and product managers to understand the impact. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all bug fixes are implemented with [this policy](https://confluence.atlassian.com/support/atlassian-cloud-bug-fix-policy-206865884.html) in mind.

While this bug is not fixed, you can try following the workaround that is described in the bug ticket :
> Import a repository by going to the specific workspace instead.
>
> 1. Go to the workspace - <https://bitbucket.org/workspace_id>
> 2. Click **Create** dropdown and select **Repository**
> 3. Click **Import repository**

Hope that helps! Let me know in case you run into any issues trying the workaround.

Thank you, [@Guillaume Mackowiak](/t5/user/viewprofilepage/user-id/5171000) !

Patrik S


Tags: bitbucket-cloud

cloud
CI/CD - Display the EKS deployment status in pipeline.
Asked by Sergei Artemov:

Hi all. We are deploying services using the aws-eks-kubectl-run pipe. When there is an issue with new version of image - EKS automatically rolls out to the latest stable version.

But how can I show this on pipeline? Because now Ci/CD pipelines considers this service as "deployed".

There is no "WAIT" option. I could use "rollout status", but it also responses with exit code 0 even if there are any issues.


Answers:
author: Igor Stoyanov
body: [@Sergei Artemov](/t5/user/viewprofilepage/user-id/5170650) hi. Thanks for your suggestion. It's a complex case for waiting for a deployment on kubernetes services, so unfortunately this is not supported in the current implementation.  

If you'd like to suggest a pipe to be improved, please, find the appropriate ticket in the [list of existing tickets](https://jira.atlassian.com/browse/BCLOUD-13452?filter=97052) , vote for them or create a new suggestion request with type *Suggestion* and *Component: Pipelines - Pipes* .  

also  
you could provide your own solution and suggest a pull request to the [aws-eks-kubectl-run](https://bitbucket.org/atlassian/aws-eks-kubectl-run/src/master/) pipe.  

Regards, Igor


Tags: aws

bitbucket-cloud

cloud

continuous-delivery
account disabled
Asked by bi candido:

Hi, anyone can help me!! suddenlly my account went disabled, when I try to login, recive the message "IT LOOKS LIKE YOUR ACCOUNT HAS BEEN DEACTIVATED"


Answers:
author: Patrik S
body: Hello [@bi candido](/t5/user/viewprofilepage/user-id/5170830) ,

Thank you for reaching out to Atlassian Community!

In order to investigate further, I went ahead and created an internal support ticket using the e-mail you used to post this question. You should receive an e-mail notification with the ticket link soon.

In case you don't receive it, please let me know so I can share the ticket here. You can rest assured that no one other than the reporter and Atlassian can view the ticket, even if they have the link.

Thank you, [@bi candido](/t5/user/viewprofilepage/user-id/5170830) !

Patrik s
Not receiving verification email
Asked by Tuan Dinh:

Hello,

I created a bitbucket account yesterday but I have received any verification email. I do not use admin atlassian so I cannot resend it.

I am using gmail for business with custom domain only, if this information helps.

Thanks in advance,

Tuan


Answers:
author: Patrik S
body: Hello [@Tuan Dinh](/t5/user/viewprofilepage/user-id/5170722) ,

Welcome to Atlassian Community!

I've checked internally for the e-mail address you used to post this question, and it was added to our suppression list as the destination e-mail server rejected our previous attempts to send the e-mail.

I went ahead and remove your e-mail from the suppression list, so you should start receiving the e-mails as usual again. Let me know in case you are still facing the issue.

Thank you, [@Tuan Dinh](/t5/user/viewprofilepage/user-id/5170722) !

Patrik S

comments: author: Tuan Dinh
body: Hi Patrik,

Thank you for your help. I indeed received email from Atlassian yesterday. And it was 3 verification emails that came at almost the same time. I wasn't sure what would be the cause of this.

But could you also check that my account is verified?

Thanks again and have a nice day!

Tuan


author: Patrik S
body: Hello [@Tuan Dinh](/t5/user/viewprofilepage/user-id/5170722) ,

Glad to hear the e-mail did arrive! And yes, I confirmed the e-mail is verified on our systems.

Have a nice day, Tuan! And feel free to reach out to the community whenever you need some help :)

Thank you!

Patrik S


Tags: bitbucket-cloud

cloud
Linking between two bitbucket repositories
Asked by Ramakrishna chaitanya rachumallu:

Hi,

I have two repositories on Bitbucket: repository A and repository B. I wish to merge the code from repository B with repository A while repository A was being executed locally on my local PC. Can this be done?

Thanks in advance


Answers:
author: Erez Maadani
body: Hi [@Ramakrishna chaitanya rachumallu](/t5/user/viewprofilepage/user-id/5170307)

In general, yes, merging/linking repositories is possible, but you need to be more specific on your expected outcome.

In most naive case, merging just the code, you can just copy a snapshot of the code in repo B into repo A.

If you are done developing repo B and you want to keep its history, you can add repo A's remote to repo B, and \*push repo B's branches to the new remote - Note: you will have to do some merges/renaming for branches with same name like: main, master, dev, etc'.   
You can see more detailed answer here: <https://stackoverflow.com/questions/1425892/how-do-you-merge-two-git-repositories>

If you wish to keep on developing repo B, there are several approaches with different outcomes and different working methodologies after the link.   
Have a looks at these links:

* <https://www.atlassian.com/git/tutorials/git-subtree>
* <https://www.atlassian.com/git/tutorials/git-submodule>

comments: author: Ramakrishna chaitanya rachumallu
body: Thanks. I used git submodules as suggested and it solved my issue
Adding a submodule with --name option from sourcetree
Asked by lucio_pinese:

Hi,

I am trying to understand if from sourcetree is possible to add a submodule to a repo with the --name option, we need this to avoid too long pathname.

For example:

*git submodule add --name foo https://foo_server/foo.git path*

Also with custom commands if it's possible...


Answers:
author: minnsey
body: Hi  

I'm afraid we don't currently support that option, although if you added them via the Git Terminal Sourcetree would list them. However it would list them using the path not the name.  

You can add a feature request at [https://jira.atlassian.com](https://jira.atlassian.com?)


Tags: git

submodule
How can I subscribe the security advisories
Asked by MikaVesalainen:

I would like to get an email if sourcetree security advisories list will have a new item. I just couldn't find how to subscribe this.

Page which I poll time to time is <https://confluence.atlassian.com/sourcetreekb/security-advisories-900820352.html>


Answers:
author: minnsey
body: Hi   

You should *watch* the following pages  
<https://community.atlassian.com/t5/Sourcetree-Enterprise-articles/bg-p/sourcetree-enterprise-articles>  
<https://community.atlassian.com/t5/Sourcetree-articles/bg-p/sourcetree-articles>  

You should receive notifications when ever there is a new article, which will include releases with security advisories
How do I push to Plesk or Pull from Sourcetree to my Plesk Repo?
Asked by christopherames:

I'm having no success trying to pull latest updates from my Bitbucket repo to my dev server.

Here is the error I get:

Cloning Git repository mydomain.co.uk.git...

* Cloning into bare repository '/var/www/vhosts/hostdomain.co.uk/git/mydomain.co.uk.git'...
* fatal: Authentication failed for 'https://myname@bitbucket.org/tandscc/mydomain.co.uk.git/'

I also tried this as the URL to pul from <https://bitbucket.org/myname/>mydomain.co.uk/src/master/

Any help most appreciated :)


Answers:
author: minnsey
body: Hi  

Can I just check is this on macOS?  

Also do you get prompted for auth credentials?


Tags: bitbucket

plesk

pull-request
Not able to install source tree into Windows 7 64
Asked by WhiznicJatinG:

I am trying to install latest version of source tree (i.e. SourceTreeSetup-2.6.10).

It's shows me this error: <http://prntscr.com/l1jb46>  

However I have created my user with **jatin.** **whiznic@gmail.com** email address and and **WhiznicJatinG**is my username.


Answers:
author: Ana Retamal
body: Hi! 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!

Cheers,

Ana

comments: author: WhiznicJatinG
body: Hi Ana,  

Thanks for response and I have confirm my all browser scripting changes and all are fine.

I'm stuck to this page <http://prntscr.com/l1owjn>


Tags: windows
unable to add account in sourcetree
Asked by dominique_denie:

Hi

When I try to add my bitbucket account to Sourcetree via **Tools \> Options \> Authentication \> Add.**I fill in my user credentials and I get the following error:

**Failed to get user details for user \[dominique_denie\]. You do not have the permission to access the URL '<https://api.bitbucket.org/2.0/user/>'. The request returned with status code 'Unauthorized'.**

I have tried using both SSH or HTTPS, but to no avail. I am working behind a proxy![Sourctree_error.png](https://community.atlassian.com/t5/image/serverpage/image-id/33960i2D219EE0A5350D7A/image-size/large?v=v2&px=999 "Sourctree_error.png")


Answers:
author: kurokeisatsu
body: Same issue and I am using Chrome instead of IE. Any solution?


author: reza_chrisna
body: have the same issue here


author: Enson Lau
body: Any solution for this? having the same issue....


author: michaelstv
body: Same happening to me here. Any idea ?


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

Are you entering your username or your email address? When you get the prompt to enter your credentials you'll need to enter your email address as the username is no longer used to log in into Bitbucket Cloud.

Also, if you're on Windows, make sure Internet Explorer is updated to the latest version as Sourcetree relies on it for the authentication and it can cause problems otherwise.

If you're still having issues after trying that please let us know, so we can continue helping you.

Best regards,

Ana

comments: author: dominique_denie
body: Hi Ana,

I tried with both my username and my email but both failed. I am currently using IE 11.

Best regards,

Dominique


Tags: bitbucket

windows
Patch containing new files
Asked by Andreas Beer:

Hi, I created a patch from a branch that contained both modified and new files, by selecting the files I wanted in the patch and saved it. I then rebased the branch, assuming that the changes can be later introduced into a different branch via the patch. On applying the patch, I realized it only stored the diff of the changed files, but all the new files are missing. As the rebase also rewrote history, there is no way to get my two days of work back.

My questions:

Why weren't the new files added to the patch?

Why was there no warning, that they weren't added even though I had them selected?


Answers:
author: minnsey
body: Hi  

I'm sorry that you lost work.  

As you rightly suggest Sourcetree should not allow you to select the untracked files if they are not going to be included.  

Currently Sourcetree runs  

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks diff --no-color HEAD -- {files}  

This will only pick up tracked or staged files.  

I've put a ticket on our backlog to address this going forward.

comments: author: Andreas Beer
body: Thanks, I think that'll help others who might run into similar issues in the future.
Sourcetree authentication error, though terminal is working
Asked by mike.dehalpert:

Hi - I am using sourcetree to a private git repository through an ssh tunnel. I didn't set any of this up, but need to connect this way.

When I try to pull through sourcetree I get an authentication error - server does not exist

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin  
Unable to open connection:  
Host does not existfatal: Could not read from remote repository.

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

Completed with errors, see above.

However if I click on the terminal and issue the command "git pull" I get prompted for the key passphrase and am able to connect.

Sourcetree never asks me for the passphrase.

What am I doing wrong?


Answers:
author: mike.dehalpert
body: OK it turns out that the tunnel was using openssh, and I was using Putty.
How to configure Sourcetree to use Windows SSH
Asked by Jeroen de Bruijn:

I'm using Sourcetree with system Git on windows with the windows OpenSSL feature enabled. I've created a ssh key successfully in the command prompt and added it to git. The commandline remembers my SSH passprhase and I can successfully clone a repository with SSH.

Now, when I run sourcetree it asks for the SSH passphrase, regardless of the ssh config in my global .gitconfig, which sourcetree should about I'm guessing.  
My SSH client in sourcetree is set to OpenSSH and I have no SSH Key configured there.  
My guess is that sourcetree is still trying to use the ssh in git as it tries to lauch the ssh agent (peagant) which aks for my passprase. Running git from the commandline never asks my passphrase as the Windows Credentials manager knows it and automatically enters it AFIK.  

What do I need to change in sourcetree config to get this working?  

I've got \` sshCommand = "C:/Windows/System32/OpenSSH/ssh.exe"\` in the \`.gitconfig\` \`\[core\]\`-section.

Sourcetree 2.6.10.0

Microsoft Windows \[Version 10.0.17134.285

Git 2.19.0


Answers:
author: Jeroen de Bruijn
body: I'm pretty sure sourcetree is still trying to use the Git SSH from my system git installation and that's the reason why it asks for the SSH passphrase all the time.

That means Sourcetree completely ignores the sshCommand entry in my global gitconfig. When I replace the ssh.exe and other ssh executables in the system Git folder with thosse of the Windows OpenSSL feature and start sourcetree again it doesn't complain about the SSH passphrase and I can push and pull successfully with SSH.  

Based on this I'm pretty sure the problem is that Sourcetree ignores (part) of the global gitconfig and provides no method of specifying the sshCommand to use.


Tags: windows

ssh
Bitbucket clone to Sourcetree, repeatedly asking for password
Asked by Francis Lockwood:

ant ![image.png](/t5/image/serverpage/image-id/33763i953485C0A9C7FB3C/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/33764iE64FE2E407B8063C/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/33765i853B5675E316EEB3/image-size/large?v=v2&px=999 "image.png")


Answers:
author: minnsey
body: Hi  

If you aren't already using Git 2.19 I'd suggest upgrading to that and switching Sourcetree to use it as a System Git in the Tools/Options/Tab.   

There have been some issues with earlier release of the Git Credential Manager that handles credentials for Git for Windows.


Tags: bitbucket

windows
Can't login to Atlassian account in SourceTree
Asked by hugodahl:

I've been trying to get any version of SourceTree (for Windows) greater than 2.5.5 working on my PC for about a week or two, and in my latest attempt, I deleted my local configuration files and uninstalled SourceTree.

Now, when I start SourceTree, I get the "Log in to you account" dialog, but my Atlassian credentials are not accepted, and I keep getting the "Something went wrong while attempting to validate your credentials" error.

I've also tried using my Google account, but the page never refreshes after prompting me to verify my login on my phone.

I've tried the resolution steps I've found here (add to trusted sites in IE, etc), but all to no avail.


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

Is Internet Explorer updated to the latest version? Sourcetree relies on it for the authentication and it might cause issues otherwise. If it is updated, please clear cache and cookies to make sure any corrupted data is erased.

If you're still having issues, try logging in to your Atlassian account using the browser directly and let us know if you're using your username or your email address in Sourcetree.

Best regards,

Ana

comments: author: hugodahl
body: Hi Ana,

IE is up to date, as it's bundled with Windows, which is also up to date on the current release stream.

I'm able to log into my Atlassian accounts (I have a personal and a work one) from several browsers, including IE, without issue. However, from within SourceTree, neither works, nor does the "Login with Google" feature.


author: jpgklassen
body: My IE is updated to the latest version too and I cannot login with Sourcetree.


Tags: authentication

login

windows
Sourcetree for Windows 3.0.X release notes inaccurate?
Asked by Martin V?ronneau:

Hi,

I'm using Sourcetree for Windows 2.6.10, and I just received a notification, inside Sourcetree, to update to the latest version (3.0.5). Now before updating, I always check the release notes, and I realized that there's some problems with the it.

For example, for the version 3.0.5, it says :

* *SRCTREE-6371 Fix the current branch not being correctly selected after a UI refresh.*

The issue **SRCTREE-6371** doesn't exists in Atlassian's Jira. I then realized that the project key SRCTREE related to *Sourcetree for Mac* , so I checked if a [SRCTREEWIN-6371](https://jira.atlassian.com/browse/SRCTREEWIN-6371) issue existed. It doesn, but it seems to be completely unrelated (a typo in a message box for version 1.9.6.1) and it's also not marked as done.

I checked a few other issues for prior versions in the change log, and every issue I checked seems to be completely unrelated to Sourcetree For Windows 3.0.X.

Here is the link to 3.0.5 release notes :

<https://www.sourcetreeapp.com/update/windows/ga/ReleaseNotes_3.0.5.html>

Can somebody explain what's going on?

Thanks a lot!


Answers:
author: minnsey
body: Hi  

Sorry for any confusion, those keys are actually from our internal development JIRA. The release notes are auto generated from there. We are looking to cross-reference to <https://jira.atlassian.com> SRCTREEWIN issues in the future to make it easier to track.

comments: author: Martin V?ronneau
body: Thank you!


Tags: release-note

windows
How to configure SourceTree to peform Pull Requests with VSTS?
Asked by Travis Carrington:

I am having trouble fully intergrating VSTS with SourceTree. I downloaded the beta 3.05 that has VSTS integration but I am unable to get it to work. I get the following error. ![Capture.PNG](/t5/image/serverpage/image-id/33752i9F7C9CB068A4646C/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: minnsey
body: Apologies if this is a stupid question but are you using a Personal Access Token rather than a password when prompted?


Tags: pull-request

visual-studio
checkout window
Asked by Robert Rasenack:

I just tried the brand new version of sourcetree 3.0.5 (upgrade from 2.6.10) and was a little bit confused about the checkout window.

After creating a branch in bitbucket and perform a "checkout in sourcetree" I'll get a list of all repositories of project. After a short confusion I found it this feature very good, I do not need to open the concerned repository in sourcetree, that's a good idea.

But why sourcetree reports some repositories as not existing ore moved? This marked repositories exist locally and remote. After removing all repostories (deleted bookmarks.xml and opentabs.xml) and added repostories new to sourcetree all works well.

What means "(1)" added to repository name?

If I have a lot of repositories (as I have it) I need to scroll because the window only display 4 repositories. Why I can not increase the height of the window? It would be help if I can do it.

Kind Regards

Franz


Answers:
author: minnsey
body: Hi  

Can you add a screenshot to provide more detail?  

Thanks


author: Robert Rasenack
body: Hello Michael,

sorry for delay, was in vacation. Screenshot see below. Meanwhile I run sourcetree 3.0.6 of which I made the screenshot.

Franz

![Sourcetree checkout.png](https://community.atlassian.com/t5/image/serverpage/image-id/35285i2B7C6C723E9C3F92/image-size/large?v=v2&px=999 "Sourcetree checkout.png")
Merge the same commit in SourceTree after merging in BitBucket
Asked by SC05:

I am setting up branch permissions on my bitbucket repository. I set the permissions so that only after a pull request a merge can happen.

So i merged a test-branch with my Develop and when I tried to push the local Develop to origin it gave me an error as expected: ?permission denied to update branch?.

After I merged the branches on bitbucket (through the pull request), my SourceTree now says that I need to push my commit (because the original push from local to origin got denied). How can i fix this so that my SourceTree doesnt say i still need to push to origin because I already merged the branches on BitBucket.


Answers:
author: minnsey
body: Hi  

I'd open the Git Terminal and use the following to reset your local branch to match the remote  

    git fetch origingit reset --hard origin/{branchname}


Tags: bitbucket

bitbucket-cloud

cloud