youngmon/atlassian-qna huggingface dataset:
Stuck trying to clone my newly created bitbucket repository
Asked by rubmz:

Stuck trying to clone my newly created bitbucket repository. I am using the following environment:

1. Updated ubuntu 20.04

2. Year old SSH Key that were already successfully used

3. git version 2.25.1

Trying to git clone ... from console simply stuck.

Seems like an interrupted service? Was something changed and needs update?


Answers:
author: Theodora Boudale
body: Hi [@rubmz](/t5/user/viewprofilepage/user-id/2594339),

We haven't had any incidents related to SSH access during the last few days.

Could you please try to clone using the following command and then copy-paste the full output here, so I can take a look?  
The output may show an indication of why the operation is failing.

```
GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_SSH_COMMAND="ssh -vvv" git clone <repo_SSH_URL>
```

Please make sure to mask/sanitize any private data (e.g. workspace id and repo name) in the output prior to sharing.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

git

ssh
How to create a repo whose code are used by two other projects?
Asked by jianbai-wang:

I currently have two separate repositories, say A and B for building two products. There are a large number of common code exist in both repositories. I want to create a repo C to host those common code and remove them from both A and B. My question is: how to clone, checkout, commit either one of the product code together with the common code, i.e., (A, C) or (B, C) consistently? Can it be done in SourceTree?


Answers:
author: Mikael Sandberg
body: There are two options, three is you want to use git submodules which I do not recommend. You can either use Git subtrees to do it, or repo which is a tool from Google. Git subtrees works best for Bitbucket/Sourcetree. You can find out more about Git subtrees in this article, [Alternatives To Git Submodule: Git Subtree](https://www.atlassian.com/git/articles/alternatives-to-git-submodule-git-subtree)


Tags: sourcetree
Single app password for multiple repositories best practices
Asked by claudio andres jara ya?ez:

Good day, there!  
I'm simply curious as to what the best practices are for using app passwords.  
Is it necessary to create app passwords for each repository we're working on?  
Or, instead, you could use the same app password for all repositories?  
Thank you very much!


Answers:
author: Theodora Boudale
body: Hi [@claudio andres jara ya?ez](/t5/user/viewprofilepage/user-id/4968934) and welcome to the community!

When you create an app password, you cannot set its scope to a specific repository only.

So, if you create an app password with permissions **Repositories:Read** and **Repositories:Write**, that app password can be used to access all repos that your account has access to.

Considering that, it may be easier to have a single app password for all repositories, than multiple ones.

Multiple app passwords would be useful if you need them for different scopes.

E.g. if you need an app password to trigger Pipelines from a script, you can create an app password with permissions for Pipelines only (instead of using an app password that has permissions for both Repositories and Pipelines).

Kind regards,  
Theodora

comments: author: claudio andres jara ya?ez
body: Thank you for your answer.   
Best Regards.


Tags: bitbucket-cloud

cloud
Repository Language for Terraform/HCL
Asked by Tim Chaffin:

I am using Bitbucket Cloud to manage our Terraform Configuration as Code source. Additionally, I'm using Bitbucket pipelines to perform the CI/CD steps.

In the Repository Details ? Advanced ? Language drop down box, I do not see a selection for Terraform or HCL. Is there existing selection that is appropriate for Terraform? If a selection does not already exist, where can I submit a suggestion to Atlassian to support this language?


Answers:
author: Robert Wen_ReleaseTEAM_
body: This discussion talks about how to submit feature requests for Bitbucket: <https://community.atlassian.com/t5/Bitbucket-questions/How-do-you-make-a-feature-request-for-bitbucket/qaq-p/2026680>

Looks like if you're on the Standard or Premium plan you can submit your request in a support ticket.

comments: author: Tim Chaffin
body: On your suggestion, I sent some feedback in through my Bitbucket account directly.

To confirm, there is not any HCL / Terraform language support, to this date, correct?


author: Robert Wen_ReleaseTEAM_
body: It doesn't appear so, currently.

There is a request already gathering interest. You may want to upvote this request or at least keep track of it.

<https://jira.atlassian.com/browse/BCLOUD-21102>


author: Tim Chaffin
body: Awesome! Thank you for pointing me in the right direction.


Tags: bitbucket-cloud

cloud
Unable to login Bitbucket - We couldn?t log you in
Asked by udith perera:

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

I recently signed up for Atlassian community. Tried to setup Bitbucket as well and I can't seem to login to it.

Thanks,


Answers:
author: Theodora Boudale
body: Hi [@udith perera](/t5/user/viewprofilepage/user-id/4968680),

There is an existing Bitbucket Cloud account with your email that was created quite some time ago, and it has been set to inactive.

I went ahead and reactivated this account, could you please try to log in now and let me know if it works?

Kind regards,  
Theodora

comments: author: udith perera
body: Hi [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) ,

Its success!! ?

Thanks for support given.

Udith Perera.


author: Theodora Boudale
body: That's good to hear, thank you for the update!

Please feel free to reach out if you ever need anything else!

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
how to push Buildx docker image into AWS ECR.
Asked by Madhaiyan Muthu:

Hi,

I am trying to push multi-arch docker images into ECR using docker buildx command. Not able to Push. I am getting the following error. but I am able to push docker build images. any suggestion (or) solution?

    ERROR:

    INFO: Successfully logged in to https://606323759582.dkr.ecr.us-east-1.amazonaws.com/

    ? Image not found: 404 Client Error for http://host.docker.internal:2375/v1.41/images/console:2226/json Not Found ("no such image: imag1:v1: No such image: imag1:v1")

```
pipelines:

branches:

default:

 - step:

name: Build and publish the docker image

image: docker-repo/dock-buildx:v1

runs-on: 

 - linux

 - self.hosted

services:

 - docker

script:

 - export IMAGE_NAME="ecr_repo:${BITBUCKET_BUILD_NUMBER}"

# - docker build -t "$IMAGE_NAME" . // able to push this

 - docker buildx version

 - docker buildx create --use

 - docker buildx build -t "${IMAGE_NAME}" --platform linux/amd64,linux/arm64 .

 - pipe: atlassian/aws-ecr-push-image:1.5.0

variables:

AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID

AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY

AWS_DEFAULT_REGION : $AWS_DEFAULT_REGION

IMAGE_NAME: $IMAGE_NAME

TAGS: $BITBUCKET_BUILD_NUMBER

definitions:

services:

docker:

image: docker:dind

memory: 2048
```


Answers:
author: Norbert C
body: Hi Madhaiyan,

Thanks for reaching out to Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you!

Based on my observation the build fails as it doesn't find the "imag1:v1" image

    ? Image not found: 404 Client Error for http://host.docker.internal:2375/v1.41/images/console:2226/json Not Found ("no such image: imag1:v1: No such image: imag1:v1")

To verify if the imag1:v1 exists or not, before you push the Docker image, can you run a "docker image ls" command and give us the output?

Thank you.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: aws

bitbucket-cloud

cloud
Bit Bucket Login not working
Asked by Nimish Saxena:

Hello there,

I'm having the same problem, I'm logged in Atlassian home and goes to Bitbucket and its showing "We couldn't log you in".  

Regards,

Nimish Saxena


Answers:
author: Theodora Boudale
body: Hi [@Nimish Saxena](/t5/user/viewprofilepage/user-id/4968665),

Your Bitbucket Cloud account was set to inactive, so I went ahead and activated it.

Could you please try to log in now and let me know if it works?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Can you see Bitbucket icon ?
Asked by Samuel.Sidor:

Hi,

this is just small nitpick. But I wanted to ask if you have also problem seeing bitbucket blue icon on this subpage(next to TAB name): <https://bitbucket.org/dashboard/overview>

Because for me it shows only the default one. Other pages show it correctly.

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


Answers:
author: seanaty
body: This is currently broken. Hopefully it gets fixed soon! <https://jira.atlassian.com/browse/BCLOUD-20515>


Tags: bitbucket-cloud

cloud
Unable to perform git clone on windows: First time user
Asked by omoatayo:

Hi All,

This is my first time getting to grips with Gitbucket.

I was just following the User guide where it asked me to clone a created repository but when I follow instructiond - Firefox says it cannot load page or needs additional software. I may have missed some installation steps but cannot identify where I went wrong.

Signed: Bitbucket

Installed: Source Tree

Please can you offer some guidance?!?

Thanks

![git1.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/424iFB6B940C3227C3C9/image-size/large?v=v2&px=999 "git1.JPG")


Answers:
author: Ana Retamal
body: Hi!

Looks like you're on Windows, however I can see you're using some Unix commands and those won't work by default. My recommendation is that you install Git for Windows, which provides a Bash emulation used to run Git from the command line. It behaves just like the git command in Unix environments. It's free and you can download it at <https://git-for-windows.github.io/>

Let me know if this solved your issue!

Regards,

Ana

comments: author: omoatayo
body: Hi Ana,

Thanks for your reply.

Yes, I am on Windows and was using Git CMD for above commands. I will try with Bash as suggested.

Regards

Omoatayo


Tags: clone

git
github pulls take a long time to display on SourceTree
Asked by vigamage:

Hi, I am using SourceTree for a while now and I have been facing this issue from the very begining.

When I start SourceTree, it does not show the PULLs to be fetched. After 5 or 10 minutes only, it shows the pulls. I have to wait untill they are displayed on PULL icon in SourceTree.

Any fix or workaround for this?


Answers:
author: Ana Retamal
body: Hi Viraj, are you experiencing this issue across different networks? If you have code hosted in other platforms as well, are you having the same delay on them?

Regards,

Ana

comments: author: vigamage
body: Yes, I use SourceTree in two different networks and I have been facing the issue in both the environments
Connect sourctree to hosting
Asked by kaneki-dev:

I'm new to sourcetree and just started using GIT. Anybody can help me how to connect sourctree to my hosting server bluehost? so I can just upload my changes from my local going to my hosting account? I appreciate any help. Thank you. :)


Answers:
author: Ana Retamal
body: Hi Genesis!

Sourcetree doesn't provide a specific protocol to connect accounts that are not Bitbucket Cloud, Bitbucket Server, or Github. In your case you'll need to add the remote repositories individually via SSH. To do that, you can follow the steps at [How do I use SSH with SourceTree?](https://confluence.atlassian.com/pages/viewpage.action?pageId=282173660)

If you'd like more detailed steps, I found this blog that explains [how to connect Sourcetree with Gitlab](http://jaredleonmorgan.net/2016/03/16/Using-Source-Tree-to-Access-Git-Lab.html). If you ignore the Gitlab part, the rest of the article should be useful :)

I hope this helps you, Genesis! Let me know if you have any questions.

Cheers,

Ana
PHP Syntax Error
Asked by Hugh Plummer:

After I have committed changes to a file, I attempt to do a GIT push through the command line. The push then fails saying that there was a PHP syntax failure. I have run the code through PHP syntax checkers and it comes back clean, but it cannot get by SourceTree for some reason. Does anyone know what might cause this or have experienced this?


Answers:
author: Ana Retamal
body: Hi Hugh! When you do a push we don't do any checks on the code so I'm not sure why are you getting that. Could you paste the error message here?

Regards,

Ana
Is there a way to switch off the animations in the new Windows 2.0 release
Asked by David_Chirgwin:

The new GUI design is very pretty, but the animations can be distracting.

Maybe I'm just boring and have no soul, but I'd rather the display was just refreshed as fast as possible with the minimum fuss. At the end of the day, this is a tool for work so speed and efficiency are paramount IMHO.

Anyone know any tricks I can use to do this? I couldn't find anything in the "Options" dialog.


Answers:
author: Ana Retamal
body: Hi David, I'm glad you like the new UI! However, disabling the animations is not possible. If you'd like to have that option available, you can suggest it via <https://jira.atlassian.com>. You're always welcome to submit your feature requests and ideas :)

Let me know if there's anything else I can help you with!

Regards,

Ana
Repo overview window can't go full size after update on Mac
Asked by Paul van den Dool:

I just updated to Source Tree 2.5 on my Macbook Pro. Before the update I could create a split screen view (like described [here](https://support.apple.com/en-us/HT204948)) of the window with the overview of all my repos and the repo window.

Like so:

![Screen Shot 2017-04-13 at 08.43.03.png](/t5/image/serverpage/image-id/367i6848E1A4D514BA6E/image-size/large?v=v2&px=999 "Screen Shot 2017-04-13 at 08.43.03.png")

But ever since the update, I can't go fullscreen with the repo overview window. The resize button in the top left is a "+" sign instead of the two triangles/arrows.

![Screen Shot 2017-04-13 at 08.50.06.jpg](/t5/image/serverpage/image-id/368iBC982F298E60FA8E/image-size/large?v=v2&px=999 "Screen Shot 2017-04-13 at 08.50.06.jpg")

Is this intentional in the new release? Bug? Or can I achieve the full view otherwise? I've searched the settings, but nothing...


Answers:
author: Paul van den Dool
body: "This functionality was removed in version 2.5. The reason is that there was a report from Apple about issues with the window in fullscreen for certain OSes so our SourceTree developers decided to disabled it. We aren't going to support the repo browser in the long term, but we'll have a "new tab" experience like the Windows app does in 2.0.

So, Apple noted an issue, we disabled, and there will be something shinier in the future."  

Response by Atlassian.
SourceTree commit button does nothing
Asked by Jackson Lane:

So the"commit" button on my source tree seems to most of the time be unresponsive, I can stage all my files, but when I press commit, nothing happens.

Also, the "Push changes immediately" checkbox is greyed out.

I can resolve this issue usually by closing and opening SourceTree, but the problem usually comes back after about 5 - 10 minutes.

I'm on Windows 7 using version 1.9.10


Answers:
author: Ana Retamal
body: Hi Jackson, I can see you're in an older version of SourceTree. My advice would be to upgrade to the latest one (can be downloaded at [SourceTree-2.0.18.1](https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.0.18.1.exe)) and then [Wipe Sourcetree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html).

If after that you're still experiencing the same issue, it could be that you're trying to push to many files at once, is that your case?

Let me know if it worked for you!

Cheers,

Ana
How do I put my website online?
Asked by Tim Tachnsz:

Hey,

I have a website, wich I want to put online. I dont want it in the normal Layout with the sidebar. I want to have it fullscreened. How can I do this?


Answers:
author: Nic Brough -Adaptavist-
body: In what Atlassian thing is this to be done?

comments: author: Tim Tachnsz
body: Well, I think i'ts called "SourceTree"

It's a offline Programm (Win 10PRO x64)
Remote and local branch is not in sync in source tree
Asked by Manas Kumar:

After the new update 2.5(103) Source tree is behaving like ghost installed in my Mac.  

Nothing worked at all...its asking my account password if i enterd correct password also its asking again and again then finaly saying aunthentication failed.

What a shame to source Tree, same password is working perfectly in stash.


Answers:
author: Ana Retamal
body: Hi Manas! The newest version of SourceTree fixes some authentication issues, can you [download it](https://blog.sourcetreeapp.com/2017/01/27/sourcetree-for-windows-2-0-is-now-in-beta/) and give it a try?

Let me know how it goes!

Regards,

Ana

comments: author: Manas Kumar
body: Seems Okay Now


author: Ana Retamal
body: Good to know Manas! ?


author: Manas Kumar
body: Thanks Ana ?
Problem with layout on 2.0.18.1 when text size is not 100%
Asked by coman@lenovo.com:

I just upgraded to version 2.0.18.1 and noticed a problem with the layout of icons and text on the left bar. I am on Windows 10 and have my display settings set to zoom the text to 125%. With this display setting, the icons and text do not line up properly. I don't know where else to post this bug, so here you have it.


Answers:
author: Ana Retamal
body: Hi! You can submit bugs and feature requests at <https://jira.atlassian.com>. I've already submitted this one on your behalf, you can find it at [SRCTREEWIN 7050](https://jira.atlassian.com/browse/SRCTREEWIN-7050). You can write a comment if there's anything else you want to add, and watch it to receive future updates.

Hope this helps :)

Ana
SourceTree: sorting files by modification date
Asked by vasselai:

When we are looking at the list of files to add to a commit, is there a way to display them sorted by modification date?

I don't why such an obvious thing would not be possible, but I can't find a way to do so. While that would not make much of a difference for the case where one if filtering to show only modified files, that would be quite helpful for when I create new files in my project and/or decide to add files to start being monitored that weren't previously.

If that is not possible, is there a way fo put a feature request?


Answers:
author: Ana Retamal
body: Hi Fabricio, at the moment it's not possible to sort files by date. The current sorting options are:

* Path alphabetically
* Path alphabetically (reversed)
* File name alphabetically
* File name alphabetically (reversed)
* File status

There's already an existing feature request to allow sorting by date, you can find it at [SRCTREEWIN-6551](https://jira.atlassian.com/browse/SRCTREEWIN-6551). You can vote for it to increase its popularity, write a comment and add yourself as a watcher.

Hope this helps! Let me know if you have any questions.

Cheers,

Ana


Tags: sort
App is white and blank but menus show
Asked by Oddvin R:

SourceTree is all white, but I am able to display menus if I click on the correct spot (se pic). Sounds related to [this](/t5/HipChat-questions/Windows-Desktop-App-only-shows-a-blank-white-window/qaq-p/277535). Problem occured after one of my graphics adapters said goodbye. Now I use Intel HD Graphics 530. Had a similar issue with Spotify, but it was resolved when I turned off hardware acceleration in Spotify. I was able to make SourceTree display correct if Idisabled my Intel HD Graphics and used the standard motherboard-graphics, but then I am limited to one, poor resolution so that is not an option.

Is it possible to deactivate hardware acceleration in SourceTree or do you have another suggestion on how to resolve this?![sourcetree_blank.png](/t5/image/serverpage/image-id/304iEA6C74F4E8C09D3E/image-size/large?v=v2&px=999 "sourcetree_blank.png")

Regards,  
Oddvin


Answers:
author: Ben Marshall
body: Hi, I just thought I'd add to this. I had the exact same issue today with both Spotify and Source Tree. I managed to resolve the same as Oddvin for Spotify before I found this article but couldn't get Source Tree to work. The suggested registry tweak has worked for me. Do anyone know why this is necessary suddenly?


author: Ana Retamal
body: Hi Oddvin, what version of Sourcetree are you using? Firstly, make sure you're in the latest one that can be downloaded at [SourceTree 2.0.19.1](https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.0.19.1.exe). Can you let us know if this solved the issue?

Disabling hardware acceleration in SourceTree won't be possible, but you can disable it system-wide following the guide [Disable Hardware Acceleration Option](https://msdn.microsoft.com/en-us/library/aa970912(v=vs.100).aspx?f=255&mspperror=-2147217396#Anchor_3).

Regards,

Ana  

comments: author: Oddvin R
body: It was the latest version, but I ended ut reinstalling my windows. This made my graphic cards work again, which then made SourceTree display correct. Unfortunatly I did this before your answer so I am not able to test disabling hardware acceleration.

Thanks for your response.

- Oddvin


author: Ana Retamal
body: Hi Oddvin, I'm glad this is working for you now! If you need any more help in the future, contact us again! :)

Cheers,

Ana
Have to push same merge from both sourcetree and bitbucket
Asked by Elinaker:

I created a pull request from Sourcetree. Then I merged it from Bitbucket, which obviously also pushed the commits to main branch, showing that merge commit in sourcetrees commit list. After creating the pull request, I returned to the branch which was in the pull request.

Now Sourcetree shows that I have one unpushed commit, which is the same commit that was already merged from Bitbucket. Push mark stays regardless am I in main branch or pull requested branch.

Will pushing that same exact commit twice break something? Why I need to merge twice? Can I remove the unpushed commits mark from sourcetree without removing the changes from already merged main branch?


Answers:
author: Ana Retamal
body: Hi Elina! Did you pulled your changes to Sourcetree? Once you pull them, whatever you have in the remote repo in Bitbucket will be synced with your local repo in Sourcetree.

Can you see the merged branch now?

Regards,

Ana


Tags: bitbucket
Change default SourceTree config directory
Asked by mLupin:

We're currently looking forward to installing SourceTree in our enterprise-like enviroment. However, our users' data are all stored on a network drive and mounted during every login. That means that all application data stored in %appdata% are being saved externally, outside the local computer, so users can access all their data on every computer they sign in to.

However, %localappdata% folder is not being stored on a network drive. And, unfortunately, this is exactly where SourceTree stores its configuration and license files. Because of that, users would have to login to their accounts every time they sign in to a computer. This is unacceptable for us and I have not found a solution myself.

So, here's the question: how can I change the location of SourceTree's config and license files from %localappdata% to %appdata%?


Answers:
author: Ana Retamal
body: Hi Maciej,

Changing the location of the SourceTree config file is not currently possible. We have a feature request, however, and you can find it at [SRCTREEWIN-5231](https://jira.atlassian.com/browse/SRCTREEWIN-5231). You can check the comment by Benedict Lee for the latest update. If you'd like you can also write a comment, watch the ticket for updates or vote for it.

I hope this answers your question, Maciej.

Regards,

Ana


Tags: configuration

directory

licence

windows