youngmon/atlassian-qna huggingface dataset:
Suddenly, long time after switched to App Passwords, I see a message: remote: Bitbucket Cloud recent
Asked by nadavbene:

When doing git pull, this is what I now see, suddenly (nothing has changed):

remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.  
remote: See our community post for more details: <https://atlassian.community/t5/x/x/ba-p/1948231>  
remote: App passwords are recommended for most use cases and can be created in your Personal settings:  
remote: <https://bitbucket.org/account/settings/app-passwords/>


Answers:
author: Syahrul
body: Hey [@nadavbene](/t5/user/viewprofilepage/user-id/2325818)

G'day.

The error generally means you are authenticating with a non App Password. We no longer support account passwords for git and HTTPS authentication.

If you haven't generated an App Password, please look into our KB below on how to generate:

* <https://bitbucket.org/account/settings/app-passwords/>

Below is our announcement about deprecating the use of account password

* <https://bitbucket.org/blog/deprecating-atlassian-account-password-for-bitbucket-api-and-git-activity>

I hope this helps.

Cheers,  
Syahrul

comments: author: nadavbene
body: No, I've been using App Passwords for a long time, and nothing has been changed on my side. I am using an App Password when doing the git pull. Btw - this issue happened in the past (1 year ago?) as well. This is either a bug or a wrong message returned.


author: Syahrul
body: Hey [@nadavbene](/t5/user/viewprofilepage/user-id/2325818)

Noted. Can you try to clone with the App Password and see if that works? I want to verify that the App Password you use works:  

```
git clone https://<username>:<app_password>@bitbucket.org/<workspace_name>/<repo_name>
```

Also, try to generate a new App Password and see if that works with your git pull and clone.

Let me know how it goes.

Cheers,  
Syahrul


author: nadavbene
body: Works! :) Thanks Syahrul!!


Tags: bitbucket-cloud

cloud
to which version should we upgrade our bitbucket server/data center
Asked by Aaya Abdelnabi:

regarding this vulnerability ...

<https://confluence.atlassian.com/bitbucketserver/bitbucket-server-and-data-center-advisory-2022-08-24-1155489835.html>

we have version 7.17.1, is this affected by this vulnerability ?

+ which version you advise us to. upgrade to?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Aaya Abdelnabi](/t5/user/viewprofilepage/user-id/5024195) ,

welcome to the Atlassian community!

7.17.10 is not affected by [CVE-2022-36804](https://www.cve.org/CVERecord?id=CVE-2022-36804)

Fabio

comments: author: Aaya Abdelnabi
body: hi [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528)

sorry i meant version 7.17.1 not 10


author: Fabio Racobaldo _Herzum_
body: so you need to upgrade to :

* 7.17.10 ([LTS](https://confluence.atlassian.com/enterprise/long-term-support-releases-948227420.html)) or newer
* 7.21.4 ([LTS](https://confluence.atlassian.com/enterprise/long-term-support-releases-948227420.html)) or newer


author: Aaya Abdelnabi
body: based on what we decide, and which would be a stable version for us?


author: Fabio Racobaldo _Herzum_
body: my suggestion is to go to the latest LTS version, so 7.21.4

All LTS should be a stable version


author: Aaya Abdelnabi
body: ok got it, thanks [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) for the fast response .


author: Fabio Racobaldo _Herzum_
body: you're welcome [@Aaya Abdelnabi](/t5/user/viewprofilepage/user-id/5024195)


author: Nic Brough -Adaptavist-
body: Just to be clear, all released versions are "stable". Atlassian only releases "unstable" versions in their "early access" programme.

"Stable" doesn't really have any meaning when talking about Atlassian software, or in fact, almost all software nowadays, it's a meaningless concept.


author: Aaya Abdelnabi
body: [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) just noticed that latest version on 7.20.0 , couldn't see 7.21.4


author: Aaya Abdelnabi
body: nervermind, found it


author: Gabriel Mstowski
body: Hi All,

What about 7.19.1 version? Is it vulnerable?


author: Pramodh M
body: Hi [@Aaya Abdelnabi](/t5/user/viewprofilepage/user-id/5024195)

As it is suggested version in fixed in 7.17.10 it's not in affected version.

Thanks,  
Pramodh


Tags: bitbucket-server

server
why im getting this error?
Asked by cipriano macuja:

error: failed to push some refs to '<https://bitbucket.org/knox_macuja/git-test.git>'  
hint: Updates were rejected because the remote contains work that you do  
hint: not have locally. This is usually caused by another repository pushing  
hint: to the same ref. You may want to first integrate the remote changes  
hint: (e.g., 'git pull ...') before pushing again.  
hint: See the 'Note about fast-forwards' in 'git push --help' for details.


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

This happens when you create a new git repository the same as an existing one, but with a README file. The message is telling you that you need to merge rather than try to start again.

Do what it says - a git pull will get everything in line for your next push.


Tags: bitbucket-cloud

cloud
Need to remove one account and email from the atlassian and update email of other account.
Asked by little_isaac:

I created two different accounts accidentally one from my organization email and one from my personal email.

All my projects and works are in my personal account currently.  
I need to migrate to the organization's email id with all my work.

Currently work is under the bitbucket only.


Answers:
author: Suhas Sundararaju
body: Hi, [@Lit](/t5/user/viewprofilepage/user-id/1512419) Thanks for reaching out to Atlassian Community!

You can transfer ownership of repositories from your personal account to your organization's account.

Please refer to this document for the detailed steps: <https://support.atlassian.com/bitbucket-cloud/docs/transfer-repository-ownership/>  

Let me know if this helps.  

Regards,

Suhas

comments: author: little_isaac
body: Thank you for your answer.  

But I feel like I Messed up everything.  

Now I don't have access to the organization account.  

I want to remove that account.  

From where I can request to delete that and start as fresh account?


author: Suhas Sundararaju
body: Hi [@little_isaac](/t5/user/viewprofilepage/user-id/2803467)

Please refer to [this](https://support.atlassian.com/atlassian-account/docs/delete-your-atlassian-account/#Delete-the-account) document for steps to delete an Atlassian account. You may need to first recover your account through the associated email and then you can proceed with the deletion of the account. let me know if this helps.


author: little_isaac
body: I am getting this type of msg when tried to log into to that account.  

![Screen-Shot-2022-09-28-at-5-48-53-PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/218195iAF6854DDB706A980/image-size/large?v=v2&px=999 "Screen-Shot-2022-09-28-at-5-48-53-PM.png")


author: Suhas Sundararaju
body: Hi [@little_isaac](/t5/user/viewprofilepage/user-id/2803467)   

Please share with us your organization name or workspace name. let me have a look.

Regards,

Suhas


Tags: bitbucket-cloud

cloud
Can't Clone, pull or push
Asked by Zecare Thomas:

Hello,   

Just suddenly out of the blue whenever I try to pull I get the following error:

*The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated.*

*fatal: Could not read from remote repository.*

*Please make sure you have the correct access rights*

*and the repository exists.*

I saw a post on the community that said to add and remove your key I tried this.  

I also removed key, generated a new one and then added it my profile

I also followed this post : <https://community.atlassian.com/t5/Bitbucket-questions/SSH-authentication-not-being-recognized/qaq-p/1951401>  

<br />

I also tried using HTTPs, I also created an app password as suggested   

<br />

Can someone please explain why this is happening or if I missing some important new update or feature where I was supposed to take certain steps and didn't?


Answers:
author: Zecare Thomas
body: Disregard, I was able to resolve this through the following post:

<https://community.atlassian.com/t5/Bitbucket-questions/I-m-not-able-to-clone-pull-and-push-my-repository-via-ssh/qaq-p/2092255>


Tags: bitbucket-cloud

cloud
Working on a branch or creating a fork?
Asked by ThePokyWizard:

Months ago I started a branch in a project, it happens that the branch has not yet been merged into master, however, over the months there have been major changes in master.

Now this branch should be closed, but it shouldn't go to master yet. And a new branch with new features will be created, based on the latest master updates.

The problem is that even these last two branches are closed they cannot be merged with the master, which will continue to receive updates for a period, until a specific date.  
It will be at that moment that it will be able to receive the resources of the two branches.

My question is: should I fork the original project, to get the updates that master will receive, and make changes to the branches, or should I continue working on a branch?


Answers:
author: Patrik S
body: Hello [@ThePokyWizard](/t5/user/viewprofilepage/user-id/1661054) ,

Thank you for reaching out to Atlassian Community!

Both options - continue working on a branch or creating a fork - would work in this case, and in the end, it's up to which of them you prefer.

Forking a repository is usually used when you want to make experiments in a repository but don't want to mess with the main repo. It's also applicable when you want to contribute to a repository where you do not have permission to push, so you fork the repository, make your changes, and then create a Pull Request to merge the changes back in the main repo. These changes would then be reviewed by a user from the main repo that has permission to write to it.

In either of the options, you would end up having to merge the changes between the master and the feature branch through a Pull Request and resolving any conflict in the files that might have been created when both the feature and master branches were being worked on.

Besides these options, another alternative would be for you to synch the feature branches with the latest changes from the master branch by merging them :

```
git checkout feature_branch 
git merge main_branch
```

This would merge the changes from the main_branch to the feature_branch (you might need to resolve the conflicts) and you would be able to continue working in the feature branch with the latest code from the main_branch.  

For more information on merging and rebasing to synch the branches see our [Merging vs Rebasing](https://www.atlassian.com/git/tutorials/merging-vs-rebasing)

Hope that helps! Let me know in case you have any questions.

Thank you, [@ThePokyWizard](/t5/user/viewprofilepage/user-id/1661054) .

Kind regards,

Patrik S


Tags: bitbucket-cloud

cloud
Can you share running containers between steps?
Asked by Xavier Serrat Bordas:

Hi!

I have a pipeline where we're running different docker containers connected to each other using docker-compose.

I'm wondering if we have a way to share the running containers between steps to run some tests in parallel.

Is it possible?

Thanks in advance!

Xavier.


Answers:
author: Patrik S
body: Hello [@Xavier Serrat Bordas](/t5/user/viewprofilepage/user-id/4971117) ,

Thank you for reaching out to Atlassian Community!

As each step in the pipelines runs in a isolated environment (each step in its own container), I'm afraid it's not possible to share the containers you start in a given step with the other steps.

In this case, if you would like to use parallel steps as part of your build, you would have to spin up the docker-compose containers in each of the parallel steps separately.

Let me know in case you have any questions.

Thank you, [@Xavier Serrat Bordas](/t5/user/viewprofilepage/user-id/4971117) .

Kind regards,

Patrik S

comments: author: Xavier Serrat Bordas
body: Hello Patrik,

Perfect, thanks for your reply.


Tags: bitbucket-cloud

cloud
How can I mention someone using slack notification from bitbucket pipeline
Asked by John Michael Flores:

how to send slack notification mentioning someone?  

- step:  
name: Send Notification to Slack  
script:  
- pipe: atlassian/slack-notify:2.0.0  
variables:  
WEBHOOK_URL: 'CLASSIFIED'  
MESSAGE: '$(cat error_message.txt; printf \[CLASSIFIED/$(cat folder_name.txt)/index.html\] @\[Someone\]'


Answers:
author: Syahrul
body: Hey [@John Michael Flores](/t5/user/viewprofilepage/user-id/5023112)

Welcome to the community!

I did some search and found that you'll need to use 'memberID' when you want to mention someone from the Slack webhook.

For example, I have a user name Syahrul with 'memberID' of 'U88271KS', I'll pass this in the message as the following example:

```
          script:            - echo "Notify someone in Slack"            - pipe: atlassian/slack-notify:2.0.0              variables:                  WEBHOOK_URL: '<Webhook>'                  MESSAGE: 'Hey <@U88271KS>'?
```

This create @Syahrul notification in my Slack test channel as expected. You can check the guide [here](https://www.workast.com/help/article/how-to-find-a-slack-user-id/) to find the Slack 'memberID'.

Cheers,  
Syahrul

comments: author: John Michael Flores
body: Thanks for the answer, how can I BOLD the message?


author: Syahrul
body: Hey [@John Michael Flores](/t5/user/viewprofilepage/user-id/5023112)

If you looking into formatting your Slack message, I would suggest you check the Slack API formatting page below:

\* <https://api.slack.com/reference/surfaces/formatting#visual-styles>

That said, you can use \*BOLD\* in your message to bold a text message.

Cheers,  
Syahrul


author: John Michael Flores
body: Thank you


Tags: bitbucket-cloud

bitbucket-pipelines

notification

slack
If I use more than 5GB without realizing it, will the additional payment be made automatically?
Asked by ???:

I want to pay with the standard price plan. For standard pricing plans, is there a limited capacity per user? If I use more than 5GB without realizing it, will the additional payment be made automatically?


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

In Bitbucket Cloud we have a limit of 4 GB for each Git repository.

We don't have any limit for the total space consumed by all repos on your workspace, and there is no limit per user. The limit for repositories on the free plan is 2 GB; however, at this time, we are not enforcing this limitation and these repos also have a 4 GB hard limit. Note that both enforcement of the limit and the limit itself are subject to change in the future.

The 5 GB limit that you can see listed for the Standard plan here: <https://www.atlassian.com/software/bitbucket/pricing> is for Git LFS specifically (Git LFS is an extension for Git to track large files). Git LFS files are stored in separate servers and the Git LFS storage is separate from the size of your Git repo.

We count the size of Git LFS files across all repos in that workspace towards the 5 GB limit. If you are on the Standard plan, and you use more than 5 GB of Git LFS, then an additional payment of $10/month for an extra 100 GB of Git LFS will be added automatically.

If you don't use Git LFS in your repos, then the 5 GB limit is not relevant to you. The limit of 4 GB for each Git repository applies regardless of the billing plan at the moment.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Cannot Create Or Import Repository
Asked by Asisten:

When tryin to create or import repository through web ( <https://bitbucket.org/repo/import?workspace> ) i found these error:

```
Uncaught TypeError: o.Integrations.RewriteFrames is not a constructor
8239 https://d301sr5gafysq2.cloudfront.net/1b02849867b9/dist/webpack/sentry.js:15
n https://d301sr5gafysq2.cloudfront.net/1b02849867b9/dist/webpack/sentry.js:1
<anonymous> https://d301sr5gafysq2.cloudfront.net/1b02849867b9/dist/webpack/sentry.js:1
<anonymous> https://d301sr5gafysq2.cloudfront.net/1b02849867b9/dist/webpack/sentry.js:1
```

and

```
JQMIGRATE: jQuery.isArray is deprecated; use Array.isArray 

aui-8.js:29:839
```

I've already clear browser cache and tryin with 2 different browser but error still occur


Answers:
author: Syahrul
body: Hey [@Asisten](/t5/user/viewprofilepage/user-id/1969125)

G'day.

The error you share are generic browser error and not related to the import so can you grab the screenshot of the import error log or the error log in the UI when your import failed?

That said, can you confirm that you are importing from 3rd party git host, or is it Bitbucket to Bitbucket?

I look forward to hearing from you.

Cheers,  
Syahrul


Tags: bitbucket-cloud

cloud
Source Tree icons replacement
Asked by ????? ????:

I wonder if it is reall that in future Source Tree will provide users ability to set their own pack of icons? I've just updated ST and seen that orange icons near filenames and they look odd with blue-white intereface on the background.

I really don't want to dig into the ST resource files)

![2017-09-11_17-11-41.png](https://community.atlassian.com/t5/image/serverpage/image-id/6004i0AE4A0C93FAC4B75/image-size/large?v=v2&px=999 "2017-09-11_17-11-41.png")


Answers:
author: minnsey
body: Hi,

For now I'm afraid customizable themes etc are not on our roadmap.

comments: author: ????? ????
body: I thought so, but still had a hope)


author: Jis van Overschot
body: I think you should have followed the rest of the icon design, because this just looks horrible.


Tags: user-interface

windows
SourceTree keeps showing login window after uninstall? [WIN10]
Asked by sebrk:

So I uninstalled SourceTree but I keep getting a login window poping up every now and then. It just happens as I do other stuff unrelated to developing. It's like it somehow didn't uninstall correctly and has a service running which I find weird.

I even reinstalled it just to uninstall it again to see if it somehow removed things again to no avail. Also tried with CCleaner.

Anyone had this? This is on Windows 10 btw.

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


Answers:
author: Ana Retamal
body: Hi Sebastian, a clean uninstall should fix that, please follow the steps:

1. [Wipe SourceTree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html).
2. Uninstall SourceTree (if it shows on the App\&Features list)
3. Backup then delete the directory below before proceeding with next step
   * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local and delete *SourceTree* \& *SourceTree-Settings* folder
   * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local\\Atlassian and delete all SourceTree Files/Folder.

Hope that helps!

Ana


Tags: install

login

windows
Can't sign in when installing SourceTree
Asked by Chermennov Gleb:

Hello.

I recently wanted to install latest SourceTree for Windows.

So I downloaded 2.1.1 version for Windows (I have Windows 7) and installed it. Problem is - I can't sign in.

Retyped the password at least 10 times. It is valid, I'm signed in on multiple other devices.

Can you help?


Answers:
author: Erick Del Orbe
body: Gleb did this fix your issue? I'm having the same issue


author: Ana Retamal
body: Hi Gleb, can you check if you're able to access [id.atlassian.com](https://id.atlassian.com) using the same credentials? If you can, then open Internet Explorer, go to the *Advanced options* tab and click on *Reset your Internet Explorer Settings* and check *Delete personal settings.* This seemed to work for other users that had a similar issue.

If you're still unable to sign in, please send us a screenshot so we can see where are you stuck.

Cheers!

Ana


Tags: windows
Can't authenticate with Visual Studio
Asked by Roisin Anne Hughes:

I just upgraded to 2.1.11.0 and amd having issues authenticating with Visual Studio. The error I'm getting is:

```
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch --prune origin
fatal: Authentication failed for 'https://....
```

When I try to add a new hosting account the only options to choose from are Bitbucket, Bitcbucket Server or GitHub - does anyone know how I can re-authenticate my VSO account?  

Thanks!


Answers:
author: Ana Retamal
body: Hi Roisin, those are the options we provide by default but you can still add repositories from any other services you use by using the **New repository \> Clone from URL** option. This is located at the top left corner of the screen.

I also found [this blog](http://blog.jongallant.com/2016/03/vso-sourcetree/?) that might help you with more detailed instructions.

Hope that helps!

Ana


Tags: visual-studio

windows
Sourcetree 2.1.11.0 "not responding" on windows 8.1
Asked by JCHachette:

I have the bad idea to update to last version today... And now, each time i want to "pull" my repository, source tree "work" long time and app displayed as "not responding". And finish with failing the "pull"...


Answers:
author: Mikael Sandberg
body: Do you get an error message when the pull fails? Do you get an authentication failure error? If so, have a look at this thread, <https://community.atlassian.com/t5/Bitbucket-questions/SourceTree-2-1-10-0-Authentication-Issues/qaq-p/623202>. If you want to roll back to a previous version, I know 2.1.2.5 did not have any issues our our site, you can find the [SourceTree Download Archives](https://www.sourcetreeapp.com/download-archives).

comments: author: JCHachette
body: It's not an authentification issues. i get a "MERGE HEAD exist" error.

At least 1 file was corrupted, so i reverted to previous version... I hope the issues will be corrected...

Anyway, all actions like pull/push make the app to "not responding" for 30/40 secondes at least before the app display an error...

i will try the 2.1.2.5 version....


author: JCHachette
body: 2.1.2.5 resolve my issues. I will not make any source tree update soon....


author: Mikael Sandberg
body: If you still get the MERGE HEAD exist error after downgrading, try git merge --abort from the command line, that should clear it out.


author: JCHachette
body: I that help, on the 2.1.10.0. When the app was not responding, task manager show a "high" use of hard drive access.
Anybody else unable to get pass customer agreement today
Asked by Lola Mastrodicasa:

Not sure if something updated but this morning I get a screen and I can't continue from this screen even after clicking I agree on this screen and the Customer Agreement link

![Screen Shot 2017-09-07 at 10.58.55 AM.png](/t5/image/serverpage/image-id/5776i12B8E31A4D054CC1/image-size/large?v=v2&px=999 "Screen Shot 2017-09-07 at 10.58.55 AM.png")


Answers:
author: minnsey
body: Hi,  

Can I check what version you are running? And what OS etc?

comments: author: Lola Mastrodicasa
body: Mac OS 10.12.6

I have tried different versions of source tree this am. So the latest, but the about source tree option is greyed out.


author: Manju
body: Can you remove preferences and try running Sourcetree once?

Please run below command in terminal to remove Sourcetree preferences,

defaults delete com.torusknot.SourceTreeNotMAS


author: Lola Mastrodicasa
body: defaults delete com.torusknot.SourceTreeNotMAS

2017-09-07 15:07:26.777 defaults\[9653:865479\]

Domain (com.torusknot.SourceTreeNotMAS) not found.

Defaults have not been changed.