youngmon/atlassian-qna huggingface dataset:
Unable to push code
Asked by venugopal pottu:

remote: \[ALERT\] Your push failed because the account '\*\*\*\*\*\*\*\*\*\*' has exceeded its  
remote: \[ALERT\] user limit and this repository is restricted to read-only access.  
remote: \[ALERT\] To restore write access, ask an account administrator to upgrade their plan.  
remote: \[ALERT\] For more info:  
remote: \[ALERT\] <https://confluence.atlassian.com/x/MAFgDQ>

Hi we already have paid plan "Standard" still we are getting this issue suddenly today


Answers:
author: venugopal pottu
body: I started getting this issue again

remote: \[ALERT\] Your push failed because the account '\*\*\*\*\*\*\*\*\*\*' has exceeded its  
remote: \[ALERT\] user limit and this repository is restricted to read-only access.  
remote: \[ALERT\] To restore write access, ask an account administrator to upgrade their plan.  
remote: \[ALERT\] For more info:  
remote: \[ALERT\] <https://confluence.atlassian.com/x/MAFgDQ>

comments: author: Syahrul
body: Hey [@venugopal pottu](/t5/user/viewprofilepage/user-id/140952)

G'day.

I believe this is similar to what you faced previously, where there is a problem with the payment details on the affected Workspace.

Since the payment failed to charge a few times, your Workspace is automatically downgraded to a **Free plan;** hence you are getting blocked because the users limit for the **Free plan**is 5 users, and your Workspace has more than that.

The workaround is to re-upgrade your Workspace plan to paid plan, or if you wish to continue with the **Free plan,** you'll have to remove some of your users in Workspace.

I hope this helps.

Cheers,  
Syahrul


author: Syahrul
body: Hey [@venugopal pottu](/t5/user/viewprofilepage/user-id/140952)

G'day.

I can see your Workspace account plan has been upgraded to Standard accordingly, so can you let me know if you still have any issues pushing your code?

Cheers,  
Syahrul


Tags: bitbucket-cloud

cloud
How to create pr to pr?
Asked by hong_ji:

Example

- origin/feat/10-fix

- user1/feat/10 -\> upstream/develop

how to create this pr?

- origin/feat/10-fix -\> user1/feat/10


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

Welcome to the community.

I don't understand what you mean by PR to PR. Are you trying to create a PR that compares to another PR or Branch to Branch?

That said, you can check our guide below on how to create a Bitbucket pull request:

* <https://support.atlassian.com/bitbucket-cloud/docs/create-a-pull-request-to-merge-your-change/>

If you want to create a pull request to merge changes from Branch "10-fix" to "10" then you can simply go to the PR tab on the left side \> **Create pull request,** then select the Source branch (the left panel) as your "10-fix" branch and the destination branch (the right panel) and create the PR

This should create a PR with the source as "10-fix" and the destination branch as "10".

Cheer,  
Syahrul


Tags: bitbucket-cloud

cloud
App Password not working when checkin to BitBucket via command line...
Asked by Ravi K:

Hello friends,

I am new to BitBucket and CI/CD as a platform. Set up a new BitBucket account, added SSH keys and also created the APP Password.

As a learning process, tried to clone a git repository to local machine (Linux Kernel 5.15) and use this code to checkin to Bitbucket and setup pipelines. This is my current status on the learning.

Repository with same name as folder name created on BitBucket.

On local linux machine, following commands were issued:

git add \*

git commit -m "initial"

git remote set-url origin https://\<username\>:\<apppassword\>@bitbucket.org/skillshare-mastering-pipelines.git

git branch -v

git push

AFTER git push, it shows the following error:

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/>  
fatal: Authentication failed for '<https://bitbucket.org/skillshare-mastering-pipelines.git/>'

WHATEVER I do, its the same error. APP Password creation does not seem to work.

The URL to include APP Password also does not seem to work.

Can you please help ?


Answers:
author: Thuan_ Do Dang
body: Hi [@Ravi K](/t5/user/viewprofilepage/user-id/5010883) ,

If you added SSH keys, why don't you use SSH remote URL? The remote URL looks like git@bitbucket.org:your_space/skillshare-mastering-pipelines.git

comments: author: Ravi K
body: Thank you, Thuan_Do Dang. Your suggestion worked for me.

Using the following syntax:

git push git@bitbucket.org:\<workspaceid\>/\<repository_name\>.git


Tags: bitbucket-cloud

cloud
How do I get the list of files that were updated in a commit using bitbucket API 2.0?
Asked by Saurabh Porwal:

I am working on creating a CI/CD pipeline. Once files are committed to my bitbucket repo, I want to be able to

1. Fetch the commit I want to (I can do that using the commits API with include/exclude).
2. Get all files that were updated under that specific commit! (I"M LOOKING FOR A WAY TO FETCH THIS using API 2.0).


Answers:
author: Mateus T
body: Hi [@Saurabh Porwal](/t5/user/viewprofilepage/user-id/5010698),

Welcome to the Atlassian Community!

From the [commits API,](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-commits/#api-repositories-workspace-repo-slug-commit-commit-get) the results should also include a section with several links. Among those links, you have the option to grab the link for either the diff, or patch. The diff API should bring you the actual diff of that commit, allowing you to work out the files modified in this commit:

```
Curl -X GET "https://api.bitbucket.org/2.0/repositories/<workspace>/<repository>/diff/<commit>
```

In counterpart, the patch link should also contain a diff summary with all the files modified before showing the diff, so that could make it easier for you to parse the changes:

```
Curl -X GET "https://api.bitbucket.org/2.0/repositories/<workspace>/<repository>/patch/<commit>
```

Cheers,

Mateus T

comments: author: Saurabh Porwal
body: Thanks [@Mateus T](/t5/user/viewprofilepage/user-id/4017437) both these APIs return the difference or patch and do have the file names but are in text format. I'm looking for an API response which could cleanly give me just filenames with path that have been updated preferably in JSON format so that is easier to parse and automate with any programming language.


author: Mateus T
body: [@Saurabh Porwal](/t5/user/viewprofilepage/user-id/5010698),

Gotcha! I definitely see how the JSON format would make that easier.

For now, those endpoints are the best way to get those files in a specific commit. I did find an open feature request in our public bug tracker which you can check through the following [here.](https://jira.atlassian.com/browse/BCLOUD-9279)

Our development team will give a first-hand update through that ticket if there's any progress made so I would suggest keeping a watch for it. Please note that all enhancements are implemented with this [policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) in mind.

Cheers,

Mateus T


Tags: bitbucket-cloud

cloud
Password request dialog continually displays
Asked by Glenn Taylor:

We recently decommissioned an old server that was an internal GIT remote. Now the password dialog "Windows Security" "Git Credential Manager for Windows" prompts quite often for my username / password. I click Cancel or enter my credentials but it just reappears shortly. This starts fairly soon after I open SourceTree but continues after I close it.

I have removed all accesses that I can find, and even did a text search for the server name and edited it out of some SourceTree data files to no avail. I removed all references in the Windows credential manager that I could find. Right now, I just ignore the dialog and things all work fine.

Any ideas on how to clear out the reference to this server?


Answers:
author: Mikael Sandberg
body: You can try this, run this in Git Bash/command line  
git config --edit --system  
and remove helper = manager and save the change.  
Also run git config --edit --global and under \[core\] set askpass to  
askpass =  
That should hopefully take care of it.

comments: author: Glenn Taylor
body: Doesn't that just turn off the feature of using the credential manager? I have other repos that I want to use the manager for. I just need to remove this obsolete one from the list. I will experiment with these settings when it gets too annoying though.


author: Mikael Sandberg
body: Yes, it will turn off the Git Credential Manager for Windows, but not the one that SourceTree is using.


Tags: credential
Problem with installation source tree
Asked by Roman Hladun:

Hello everyone,  

when I Try install and try loggin on live account, I always get error.  

<http://prntscr.com/g789l7>  

User credentials is right and checked rhladun@itwconsulting.com  

Please advice.  

Roman


Answers:
author: Warren
body: Hi Roman

Add your comments to this [Community thread](https://community.atlassian.com/t5/SourceTree-questions/Installation-of-SourceTree-cannot-be-completed-because-of/qaq-p/621375#U621473), which is tracking all the others who have the same problem
Source Tree Registration
Asked by Karl Kennedy:

Hi,

I work for Lloyds Banking group and I am trying to roll out source tree onto our developers VDI machines. Our development VDI's are in a sandbox domain with completly no internet access.

In order to install source tree it requires internet access to create an account, do you have a way to get aroud this?

I am happy for developers to create an register for an account from there main machine with internet access but how do I do the install into a sandboxed environment?


Answers:
author: Ana Retamal
body: Hi Karl, offline installation for SourceTree it's not available at the moment. You could create the Atlassian account beforehand, but you'll need an internet connection during the installation in order to register the application with the Atlassian account you previously created.

We understand the need for an offline registration process, so we're tracking direct feedback at [SRCTREE-3593](https://jira.atlassian.com/browse/SRCTREE-3593). Feel free to add your comments and specifics around your team's needs.

Let us know if you have any other questions!

Best regards,

Ana

comments: author: Karl Kennedy
body: Hi Ana,

ok so no way we can use SourceTree then... that throws out setting up an on-premises BitBucket server. Shame we have spent a fair bit of time into trialling this we liked the product.

no way of copying over a license file? :(


author: Karl Kennedy
body: Hi Ana,

I have found a way to over-ride my proxy within Firefox to allow internet access (only from firefox) to register the software. But the sourcetree installer has an Iframe with IE only.

any way I can register the software via firefox?


author: Ana Retamal
body: Hi Karl, I'm afraid it's not possible to register via Firefox. Please make sure to watch the Feature request ticket to receive updates on this subject, and let me know if there's anything else I can help you with.

Best regards,

Ana
Not able to Pull or fetch in source tree
Asked by Murugan Mani:

It fails with the following error

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch --prune origin  
fatal: remote error: CAPTCHA required  
Your Bitbucket account has been locked. To unlock it and log in again you must  
solve a CAPTCHA. This is typically caused by too many attempts to login with an  
incorrect password. The account lock prevents your SCM client from accessing  
Bitbucket and its mirrors until it is solved, even if you enter your password  
correctly.

If you are currently logged in to Bitbucket via a browser you may need to  
logout and then log back in in order to solve the CAPTCHA.

Visit Bitbucket at https://bitbucket.es.ad.example.com for more details.

I have not changed any password recently.


Answers:
author: Mikael Sandberg
body: You need to reset the CAPTCHA in order to preceed. In Bitbucket, go to your profile and you should see a button to clear the captcha. Once that is done you should be able to fetch again.
SourceTree spinning forever after large depo manual copy
Asked by jeffrey wisgo:

I need to access a large repro over VPN which is over 5 Gb and every time I try to clone it using SSH I get "fatal: The remote end hung up unexpectedly" after a few minutes. I tried to use "-depth" and pull down little by little, but that still started failing after a got to a certain depth, so I gave up on it.

I was told by an admin that the original issue is known and I should manually copy the repo from someone. I did that, but now when I start SourceTree and click on the repo name, it takes a few seconds to pull up the main screen. Then is a spinner than spins forever to the right of the "Staged Files" text and things are really slow (like History screen). I've left it on for over an hour but the spinner never stops.

I haven't tried to actually use SourceTree in this state since I don't know if I need to run some special command after copying over the files manually.

If someone can help me, I'd appreciate it.

Thanks


Answers:
author: jeffrey wisgo
body: Thanks for the answer. I ended up solving this by installing some tool at the command line. I forget the name but it was for large file support.

However, for the future I still want to know how to change the SSH client to OpenSSH. Can you clarify in more detail where I can change this setting? I can't find it anywhere in the 'Preferences' menu.

Thanks

comments: author: Ana Retamal
body: If you're on Windows, you'll find it under**Tools \> Option**s. If you're on Mac, OpenSSH should be the default option.

Is there anything else I can help you with?

Cheers,

Ana


author: jeffrey wisgo
body: I see. I am using Mac so I guess I will never have that specific issue.

You can consider this issue closed.

Thanks


author: Ana Retamal
body: Thanks for your response, Jeffrey. Have a good day :)

Ana


author: Ana Retamal
body: Hi Jeffrey! What SSH client are you using? Putty was reported to cause this issue, you can find the bug ticket at [SRCTREEWIN-5273](https://jira.atlassian.com/browse/SRCTREEWIN-5273). When changing from PuttY to OpenSSH, the issue doesn't happen anymore.

There's also a post in the Community regarding this error, you can find the solutions at [When cloning a repository "Checking Source" spins](https://community.atlassian.com/t5/SourceTree-questions/When-cloning-a-repository-quot-Checking-Source-quot-spins/qaq-p/16845).

I hope that works for you! If it doesn't, please let us know which SourceTree version ad OS are you using and send us a screenshot so we can continue helping you.

Regards,

Ana
SourceTree wont open
Asked by Raja Akula:

Recently, our team that is using Source Tree cannot open sourcetree. I have tried removing the files for SourceTree in AppData/Local and reinstalling SourceTree many times, but both troubleshooting process didnt help.

This occured after, the team, rebooted their laptops. Previously, they hadn't rebooted their laptops, and this was the first time in a while.

I need of help. We need to get this problem resolved asap.

Thank you, in advance.


Answers:
author: Ana Retamal
body: Hi Raja, can you try doing a clean install following 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.
4. [Download SourceTree](https://www.sourcetreeapp.com/) and install it.

If after doing that you're still experiencing issues, please let us know which version of SourceTree and OS are you using.

Regards!

Ana

comments: author: Michelle Flynn
body: Hi Ana,

I have the same problem but have tried rebooting and removing sourcetree and reinstalling and nothing works.

I am using app-2.3.1 of sourcetree and am on a HP Envy laptop using windows 10.

Thanks,

Michelle


Tags: windows
Want to download a project
Asked by jumper77:

I heard that you can download one of you projects in a zip file. I need to do because I am unable to to pull my project. It used to work, but not now, for some reaon.

Any help greatly appreciated


Answers:
author: jumper77
body: A little more info: I also upated VS to the 2017 version, and updated Git as well


author: jumper77
body: Thank you for the reply. I can't pull it because I can't see it. Before I used to be able to see it in Visual Studio as well the stand alone software. I upgraded the software and can login, but I don't see any of my projects.

Sorry for not beeing specific enough.

comments: author: Ana Retamal
body: What do you mean by the "stand alone software", are you referring to SourceTree?

I'm not sure how's your set up, so I won't be able to continue helping you unless I have more information. Do you use Bitbucket as well? If you need help to set up Visual Studio with SourceTree I found this explanation that might be helpful for you [Configure Visual Studio with SourceTree](https://stackoverflow.com/questions/25941306/how-do-i-configure-visual-studio-2013-for-use-with-git-sourcetree).

If you need more help with this, remember to provide which SourceTree version and OS are you using.

If your initial question was merely referring to how to download a zip file from Visual Studio, please contact their [Support team](https://www.visualstudio.com/support/) for further assistance.

Regards,

Ana


author: john simpson
body: Thank you for the link Ana. And yes I was talking about SourceTree. And yes, it used to work in Visual Studio. I appreciate all your help.


author: Ana Retamal
body: Hi! We'll need some more information so we can help you with your question:

* Why are you not able to pull your project? Do you get any error?
* Are you also getting errors when doing pull from your terminal?
* Where do you want to pull the repository from (Bitbucket Cloud, Bitbucket Server, Github...)?

Cheers,

Ana
Source Tree on Windows Terminal Server Farm
Asked by Oliver Ullrich:

Dear support,

I would like to know, if sourcetree can be installed and used in a terminal server farm and what the preconditions would be.

Thank you and kind regards

Oliver


Answers:
author: Ana Retamal
body: Hi Oliver! SourceTree needs to be installed individually in every computer. It gets installed at*%localappdata%\\Atlassian\\SourceTree\\* and needs to be registered with the user's Atlassian account.

Let us know if you have any other questions.

Best regards,

Ana
Not getting Generate Licence Link
Asked by Vidhyut:

Hi,

I created my account for SourceTree and verified my email id through email. On successful verification it lands to the Account page where my name/email and Organization is displayed. Am looking for the licence file (trial). How to generate it?

Thanks,

Vidhyut


Answers:
author: Ana Retamal
body: Hi Vidhyut, you don't need a license for SourceTree anymore, as it's free for all our users. You just need to register it using your Atlassian account.

Is there anything else Ican help you with?

Cheers :)

Ana

comments: author: Vidhyut
body: Hey Ana, Thanks for your reply. It worked and I started using SourceTree :-)


author: Ana Retamal
body: Glad to hear that, Vidhyut!
Getting error as "operation timed out after 0 milliseconds with 0 out of 0 bytes received"
Asked by Divakar M P:

Getting error as "operation timed out after 0 milliseconds with 0 out of 0 bytes received" during Push operation in sourcetree...


Answers:
author: Ana Retamal
body: Hi Divakar, can you provide some more information so we can troubleshoot this issue:

1. If you try pushin using your terminal, do you get any error?
2. Are you getting errors when performing different actions, like pull for example?
3. Is this only happening with a certain repository or with all of them?
4. Which version of SourceTree and OS are you using?

Regards!

Ana
Unable to log in while installing SourceTree
Asked by Raiz Bhaggoe:

Unable to log in while installing SourceTree.

I'm getting the following screen

![Naamloos.png](/t5/image/serverpage/image-id/4381i0D4A1A6EDDD78C45/image-size/large?v=v2&px=999 "Naamloos.png")


Answers:
author: Ana Retamal
body: Hi Raiz, there are other users experiencing this issue and we're following it in this [Community thread](https://community.atlassian.com/t5/SourceTree-questions/Installation-of-SourceTree-cannot-be-completed-because-of/qaq-p/621375#U621473).

Please keep an eye on it as we'll be commenting on that one.

Best regards,

Ana

comments: author: Raiz Bhaggoe
body: At the moment I've installed an older version to continue our dev work
HOW TO UPDATE THE SOURCETREE VERSION
Asked by wangliangchen:

In 1.19.0's time could update the source tree version

but in 1.20, I can't find the way to update,how to update?


Answers:
author: Ana Retamal
body: Hi! As those versions are pretty old, the recommended method is to uninstall them completely and download the latest version from our [our website](https://www.sourcetreeapp.com/).

Let us know if you have any questions!

Best regards,

Ana
Unable to install Source tree (latest) on win7 Enterprise
Asked by Pranam Janney:

I am trying to install SourceTree on my work laptop (Win7 Enterprise), I am unable to get past the 'use existing Atlassian account'. When I use my existing login, it opens a browser with license details and nothing else. The 'install process' does not progress further after that!


Answers:
author: Pranam Janney
body: well it somehow sorted itself out after 2 hours. Not sure what happened as I did not change anything.


Tags: install

windows
Authentication error trying to push changes
Asked by Richard Knights:

I get the error below trying to push my changes

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master  
fatal: Authentication failed for 'http://xxxxxxxxxxxxxxxxxxx/scm/tar/main.git/'  
Pushing to http://xxxxxxxxxxxxxxxxxxxxx/scm/tar/main.git

I have deleted the account being used and readded it which gives me the assurance "Authentication OK" but still get the same problem when I try to push.

I did opt to get the latest upgrade prior to this occurring but dont know if that is related or not


Answers:
author: Richard Knights
body: No the push from the terminal prompts for a password and suceeds.

I did try to change the origin string to use https but got an unknown protocol error. Obviously not the right way to do it! In my saved account info it has https as the protocol.

Sourcetree is 2.1.8.0 running on Windows 7 Professional with SP1 installed.


author: Ana Retamal
body: Hi Richard, can you provide us some more information:

* Are you getting the same error if you push from the terminal?
* Have you tried using https instead
* Which version of SourceTree and OS are you using?

Best regards,

Ana

comments: author: Richard Knights
body: No the push from the terminal prompts for a password and suceeds.

I did try to change the origin string to use https but got an unknown protocol error. Obviously not the right way to do it! In my saved account info it has https as the protocol.

Sourcetree is 2.1.8.0 running on Windows 7 Professional with SP1 installed. (We operate on virtual machines in a different country that we access via remote desktop over a VPN and have no control of what OS or updates are installed)