youngmon/atlassian-qna huggingface dataset:
Fetch error in Bitbucket repository
Asked by Muhammad Saad:

We are not able to fetch one of our bitbucket repositories, it showing a fetch error in the settings also.

Please help us to cater this problem


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

We can't help you with an error you have not told us anything about. You will need to explain more.


Tags: bitbucket-cloud

cloud
How does one reference a tag number in a .gitmodule file?
Asked by boonehm:

Ultimately, I am wanting to point a submodule in my .gitmodule to a specific tag on the repository that houses the submodule. I know you can't outright specify a "tag" attribute or list the tag in the "branch" attribute. Is there a workaround to do something like this?  

In my testing, I am currently experiencing issues with testing if the url path to the tag from the source repo can be used in the "URL" attribute. In attempts to follow the steps found in this answer: <https://confluence.atlassian.com/bbkb/bitbucket-cloud-fix-error-fatal-no-url-found-for-submodule-path-in-gitmodules-1188400518.html>, when running 'git submodule status' I receive the error that "no submodule mapping found in .gitmodules for path 'path/name'". When running 'git rm --cached old/path', I receive the error "fatal: pathspec 'old/path' did not match any files, although I have only used one path name for this submodule. Since that didn't seem to work, the step to update submodules once again, of course, fails still, stating that there is no url found for the "old/path" even though it claims the path name cannot be found in the pathspec, it is as if it is still referencing the path name.


Answers:
author: Theodora Boudale
body: Hi [@boonehm](/t5/user/viewprofilepage/user-id/5112667) and welcome to the community!

I don't think that a url in .gitmodules set to something like <https://bitbucket.org/my-workspace/my-repo/commits/tag/1.4> is going to work. This is not a valid url for cloning a submodule.

A tag is always associated with a specific commit. A branch is a pointer to a commit.  
You can create a new branch out of the commit that the tag is pointing to with:

```
git checkout -b NEW_BRANCH_NAME COMMIT_HASH
```

and then use that's branch's name in the "branch" attribute in .gitmodules.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
I would like to restrict few users only to access one branch in a repo. I don't find any option.
Asked by Tamilathithyan:

I would like to restrict few users only to access one branch in a repo. I don't find any option.  

I tried branch restrictions, but I could only able to restrict users for each and every branch separately. I need to give permission only to one branch for few users.


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

in addition to [@Sebastian Krzewi?ski](/t5/user/viewprofilepage/user-id/1561725) (it is the right way to do that), please take a look to the following article <https://bitbucket.org/blog/take-control-with-branch-restrictions>.

Fabio

comments: author: Tamilathithyan
body: Thank you :)


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


author: Sebastian Krzewi?ski
body: Hi [@Tamilathithyan](/t5/user/viewprofilepage/user-id/4869601)

Please take a look on <https://support.atlassian.com/bitbucket-cloud/docs/use-branch-permissions/>.

Regards,

Seba

comments: author: Tamilathithyan
body: great


Tags: bitbucket-cloud

cloud
Tag "latest" for pipe atlassian/bitbucket-upload-file
Asked by Niek Kouwenberg:

Currently, you must specifically list the version number of the atlassian/bitbucket-upload-file pipe to be used. Last month a new version (0.3.4) was released. This now requires us to update all repositories with the new version number:

```
- pipe: atlassian/bitbucket-upload-file:0.3.3
+ pipe: atlassian/bitbucket-upload-file:0.3.4
```

Is there an option to add a \`latest\` tag, so we do not have to update our pipeline files and can just use your latest pipe?


Answers:
author: Igor Stoyanov
body: [@Niek Kouwenberg](/t5/user/viewprofilepage/user-id/264183) hi.  

```
pipe: atlassian/bitbucket-upload-file:latest
```

will not work.

<br />

You the ability to use latest docker image with:

```
pipe: docker://bitbucketpipelines/bitbucket-upload-file:latest
```

but this is a bad idea.

In case of some major pipe changes your pipeline build will stop working.

Also in case of some minor pipe changes your pipeline build may have some false positives.  

Regards, Igor


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

download

file
Email notifications stopped
Asked by Vishal Raut:

Hello, I have recently stopped receiving email notifications for pull requests and such like. From searching the discussion pages it looks like our emails could be on the suppression list; is there anyway of checking this? Or do you have any other suggestions on what may have changed.


Answers:
author: Theodora Boudale
body: Hi [@Vishal Raut](/t5/user/viewprofilepage/user-id/4725154),

Your email address was indeed in one of our suppression lists. This happens when we try to send an email to your email address, and receive a hard bounce response from your mail server, indicating permanent failure.

I went ahead and removed your email address from the suppression list, can you please keep an eye on your emails and let me know if you can receive email notifications now?

Also, are there more team members of yours with this issue?

Kind regards,  
Theodora

comments: author: Vishal Raut
body: hey [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) ,

Now i am able to received email notifications..

Thanks for quick help. Really appreciate


author: Theodora Boudale
body: Hi Vishal,

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
contecting adminidrator to unlock acc
Asked by Gurucharan:

pl unlock our acc


Answers:
author: Gurucharan
body: raise a request done


author: Alex Koxaras _Relational_
body: Hi [@Gurucharan](/t5/user/viewprofilepage/user-id/5108142) and welcome to the community,

Please raise a request to <https://support.atlassian.com/contact>


Tags: bitbucket-cloud

cloud
Unable to connect to the server when using aws-eks-kubectl-run:2.2.0
Asked by kanchan patil:

Hi,

I am using \`aws-eks-kubectl-run:2.2.0\` in the bitbucket pipeline to get the namespaces with assume role from the AWS EKS cluster but facing the following issue:

INFO: Successfully updated the kube config.  
I1223 09:26:27.469803 13 shortcut.go:89] Error loading discovery information: Get "<CLUSTER OIDC>": dial tcp 10.80.8.136:443: i/o timeout  
Unable to connect to the server: dial tcp 10.80.13.142:443: i/o timeout  
? kubectl get namespaces failed.


Answers:
author: Igor Stoyanov
body: [@kanchan patil](/t5/user/viewprofilepage/user-id/5111918) hi.   
Maybe [this article](https://stackoverflow.com/questions/49260135/unable-to-connect-to-the-server-dial-tcp-i-o-time-out) will help you.

Regards, Igor


Tags: bitbucket-cloud

cloud
Pipes feature is not supported on this self-hosted runner's platform
Asked by kanchan patil:

Hi,  
I am trying to build a pipeline with runner and facing below issue  

##### Configuration error {#toc-hId--1594128048}

The Pipes feature is not supported on this self-hosted runner's platform.

bitbucket-pipelines.yml

image: atlassian/default-image:2

pipelines:  
default:  
- parallel:  
- step:  
name: 'Get pods'  
runs-on:  
- self.hosted  
- linux.shell  
script:  
- pipe: atlassian/aws-eks-kubectl-run:2.2.0  
variables:  
ROLE_ARN: ''  
AWS_ACCESS_KEY_ID: ''  
AWS_SECRET_ACCESS_KEY: ''  
AWS_DEFAULT_REGION: 'ap-south-1'  
CLUSTER_NAME: 'Dev-test'  
KUBECTL_COMMAND: 'get pod'  
DEBUG: 'true'


Answers:
author: Ben
body: Hey kanchan,

Unfortunately, pipes are not available in Linux Shell runners due to security concerns - this limitation is detailed in the documentation below:  
<https://support.atlassian.com/bitbucket-cloud/docs/set-up-runners-for-linux-shell/>

You will instead need to make use of Linux Docker runners if you wish to make use of pipes, documentation can be found below:  
<https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-runners-for-linux/>

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
prevent auto replace of string "postgres"
Asked by Lionel Elharrar:

Hello,

I am writing a yaml pipeline, from some reason, when running the pipeline, string "postgres" is automatically replaced by ""$$$$postgres_user_user_user_user" all over the files which fails the pipeline obviously,

Some examples:

1. string "postgresql" is replaced by "$$$$postgres_user_user_user_userql"

2. string "postgresqlUsername" is replaced by "$$$$postgres_user_user_user_userqlUsername"

3. string "postgresqlSharedPreloadLibraries" is replaced by "$$$$postgres_user_user_user_userqlSharedPreloadLibraries"

etc...

Does anyone has a workaround on this?


Answers:
author: Theodora Boudale
body: Hi Lionel and welcome to the community.

We would need a support ticket in order to check the logs for the build and investigate, and I can see that you already created a support ticket for this issue.

Please feel free to post the resolution here once the issue is resolved.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Not able to push code from local system to remote repository
Asked by raghuvar:

I have windows 10 installed in my laptop and installed source tree. I have private repository where i want to push my local system changes and want to pull remote repo change in local system.when i am pushing change below text display in show full output box. I am able to push code from gitbash but not using source tree.

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin feature/Friends_List_Component:feature/Friends_List_Component  
Pushing to git@github.abc.com:abcMovieClub/abc-member-redesign.git  
The server's host key is not cached in the registry. You  
have no guarantee that the server is the computer you  
think it is.  
The server's ecdsa-sha2-nistp256 key fingerprint is:  
ecdsa-sha2-nistp\<removing it for security purspose\>  
If you trust this host, enter "y" to add the key to

When i searched i found below link.

<https://community.atlassian.com/t5/Sourcetree-questions/The-server-s-host-key-is-not-cached-in-the-registry/qaq-p/138931>

Solution:

* Open Command Prompt
* "C:\\Program Files (x86)\\Atlassian\\SourceTree\\tools\\putty\\plink.exe" [bitbucket.org](http://bitbucket.org/)

But in my laptop i did not find above location and tools folder.

C:\\Users\\myname\\AppData\\Local\\Atlassian\\SourceTree\\

and there is no tools folder inside source tree.

Thanks.


Answers:
author: Mike Corsaro
body: Hello! That location is different, and you should be able to find it under:

```
C:\Users\YOUR_NAME\AppData\Local\SourceTree\app-2.CURRENT.VERSION\tools\putty\plink.exe
```
can't log in
Asked by scapegoat_studios:

C:\\Users\\shl.browser.UNIVERSE\>git clone https://scapegoat_studios@bitbucket.org/scapegoat_studios/scapegoat.git  
Cloning into 'scapegoat'...  
Logon failed, use ctrl+c to cancel basic credential prompt.  
Password for 'https://scapegoat_studios@bitbucket.org':  
remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.  
fatal: Authentication failed for 'https://scapegoat_studios@bitbucket.org/scapegoat_studios/scapegoat.git/'


Answers:
author: Ana Retamal
body: Hi Dalton! Are you still experiencing this issue? Have you added your Bitbucket account to Sourcetree following the steps at [Getting started with Sourcetree](https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html)?

If you still need assistance, please let us know:

- if you're using Windows or Mac?

- does this happen with any other repositories?

- was it working before or this is the first time you tried?

Kind regards!

Ana

comments: author: Usman Afzal
body: still getting above issue
What has happened to SourceTree? It used to be amazing and fast on macOS and now it's garbage :(
Asked by Andrew McLachlan:

I have always been a big fan of SourceTree and told all my friends about this awesome utility but within the last year this piece of software has become unusable on Windows and now on macOS.

The latest version 2.7.2 (168) is slow and annoying on macOS Sierra now.

It's quicker using Git from a command line.

I've tried all the suggestion and they don't work. The only thing that has worked is reverting all the way back to version 1. Embedded Git Vs. System Git etc. etc.

Usually Atlassian products (JIRA and Confluence) are awesome but SourceTree is now a let down :(

Please can you put a little effort into bringing it up to the same standard as JIRA and Confluence.

Ta.


Answers:
author: Ana Retamal
body: Hi Andrew! I'm sorry to hear Sourcetree is not working properly for you. Our developers are continuously working on providing a better and nicer tool to work with, so maybe if you give us some more details on what's not working for you we can help you out:

* Can you tell us more about your environment (approx number of repos, size of the repos, etc)?
* When is Sourcetree going slow? Is it when you perform a certain operation? Or does it happen from the start?
* Are you using it in conjunction with any other service (Bitbucket Server, Bitbucket Cloud, Github...)?

Let us know!  
Ana


Tags: mac
Atlassian????????????
Asked by kanbayashi:

????????????????????????????

???????????????????Sourcetree????????Atlassian????????????????????Please wait...?????????????

??????????????????????????????

-------

??????????????????https???????????????????

????fqdn?IP?????????????????????????????

????????fqdn?IP???????????????????

?????????????????????????????????????????

-------

????????????????????????


Answers:
author: Ai Hirama
body: ???????????????????????????????

Atlassian?????(id.atlassian.com)???????IP?????????????????????????????????????

* [Atlassian Cloud IP ?????????](https://ja.confluence.atlassian.com/cloud/atlassian-cloud-ip-ranges-and-domains-744721662.html)

??????????????????????????????

????????????????

comments: author: kanbayashi
body: ??????????????

????????????????????

????????????????????

???????????


author: Ai Hirama
body: ??????????????????

??????????????????????

?????????????


Tags: language-ja
Issues deleting commits and other stuff on sourcetree
Asked by Alexandre Santos:

So I accidently named a commit not the way I should, and now I'm having all sorts of issues trying to delete it. I'll link a picture with what is bothering me highlighted.

I'm kinda new to all this sourcetree stuff, so can anybody help me to figure out how to delete (if possible) this stuff off my repo?

Also because of these commits I'm not being able to push my new commits to the remote repo, so it's really anoying.![srctrr.png](/t5/image/serverpage/image-id/20178i3DB492F625960586/image-size/large?v=v2&px=999 "srctrr.png")


Answers:
author: Mike Corsaro
body: Hello! It appears that the commits you've selected are on different branches, did you mean that you'd like to delete the branches?

Some info on what you were trying to do will help me understand the problem better ?!
Authentication via SSH keys failed
Asked by Rick Rasenberg:

I am trying to clone a git repository when receiving this message. It wants me to open Pageant but my key is already in there, the private key and it's accepted, but it still wants me to add the correct SSH key.

Error:

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin  
FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey)  
fatal: Could not read from remote repository.

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

I have no idea what I should do.


Answers:
author: Manju
body: Can you please specify what version of Sourcetree and what OS you are running?
Why can't I update SourceTree?
Asked by Michael Vircsik:

On one computer SourceTree updates to version 2.5.5.0. On another it is at 2.4.8.0. On 2.4.8.0 when I go to Tools-\>Options-\>Updates and click Check For Updates, it appears to check but does not update to 2.5.5.0, which is obviously available. Is there some service I can restart to allow the update? Or something else I can do to get 2.5.5.0 without completely uninstalling it and reinstalling? Both computers at Windows 7 Enterprise, Service Pack 1 with all of the latest Windows Updates installed.


Answers:
author: Mikael Sandberg
body: 2.5.5.0 is still being rolled out, Sourcetree moved to staged updates about 2 years ago, have a look at this [blog post](https://blog.sourcetreeapp.com/2016/11/16/adding-staged-updates-to-sourcetree/) about it.

comments: author: Michael Vircsik
body: Sounds good. Thank you, Mikael!
Doing a Commit and it seems to be hanging.
Asked by Richard Albrecht:

Do a commit with the option to push to remote and it seems to be hanging. Here's the output:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree add -f -- conAsBod.xojo_code frmHome.xojo_code np_question_.png np_question_.xojo_image stlGrayItalicSmaller.xojo_code

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree commit -q -F /var/folders/yp/lms224vx2kqfz4h9v6xmzgbw0000gn/T/SourceTreeTemp.1BngZX -a

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream origin refs/heads/master:refs/heads/master

Pushing to <https://github.com/Hawkcode/ASPE-EOY.git>

How long should I wait?


Answers:
author: Richard Albrecht
body: I cancelled it and then did a new commit after more changes and it went ok, also the one it hung on was there too.


author: Richard Albrecht
body: I had to cancel it finally, then tried to do the push to remote and the same thing.

Doesn't anybody know a solution?

comments: author: phirlikar
body: I am facing the same issue now after upgrading sourcetree to the latest.


Tags: mac
SourceTree is always asking me to authenticate!!!
Asked by faresbouchedid:

I keep getting failed to authenticate or too many failed attempts in sourcetree every time I pull or push. Can you please help me?

I really do not want to authenticate every 15 minutes while working on a project.


Answers:
author: bgannin
body: Hi Fares,

What OS are you on? Which version of Sourcetree are you using?

Thanks,  
Brian

comments: author: faresbouchedid
body: Mac OS 10.13.3

SourceTree 2.7.1 (159)
Update to 2.5.5 is shown in GUI but not available for DL
Asked by alecn2002:

Hi,

I'm using SourceTree 2.4.8 for Windows (Windows 7 x64) now.

For quite a long time I see a white flag in the yellow square on the right side of application's upper border, when I click on it "Update '2.5.5' is available" message appears.

But when I click on "Update" button, it shows the message "404 Not Found". As well as on the SourceTree custom download page (<https://www.sourcetreeapp.com/download-archives>) I see the latest version for Windows available for DL is 2.4.8.

So, is 2.5.5 available for Windows? How could I download that update?


Answers:
author: bgannin
body: The download error should be cleared up now. The website is currently being updated for 2.5.5 and should be live shortly.

comments: author: alecn2002
body: I was able to download 2.5.5 from the site, thanks!

Though, when I've pressed "Download" button in the Notifications popup of SourceTree 2.4.8 itself, I've still seen "404 Not Found".

Probably it has something to do with proxy, does SourceTree upgrade download functionality obey system proxy settings?


author: Mike Corsaro
body: Hello! Could you post a screenshot of the 404 message? I'm a bit confused as to where it's being displayed. Thanks!


author: bgannin
body: The download should be available when updating Sourcetree, I'll ping the team about what's going on there. The website itself is updated when we reach 100% availability for a release as [detailed here](https://blog.sourcetreeapp.com/2016/11/16/adding-staged-updates-to-sourcetree/). Currently 2.5.5 is at 75% availability.


Tags: update

windows
I'd like to connect my Atlassian account into SourceTree app
Asked by ???:

I was tried to connect my Atlassian account into Sourcetree, but It doesn't work.

![?????????? 2018-04-18 ???? 4.12.48.png](/t5/image/serverpage/image-id/19938i851EE4EB7DEAA08D/image-size/large?v=v2&px=999 "?????????? 2018-04-18 ???? 4.12.48.png")

22bd4dc615594c469688a9bc2f0fabcf

My system specs are below here...

macOS High Sierra 11.13.4 / MBP 13-inch 2015 late / 16GB

Please check this problem, and fix it quickly.. ;(


Answers:
author: Ana Retamal
body: Hi WangGi! Are you still experiencing this issue? We had an incident with Bitbucket Cloud that might have been causing the issue you described. This has been fixed already and the services should be working as normal now. If you want to know the details, they can be found at [Bitbucket incident](https://status.bitbucket.org/incidents/dbhw86z24h7c).

If you're still having issues to connect your account, please let us know and we'll continue investigating this for you.

Kind regards,

Ana


Tags: mac
Why does Sourcetree always forget my settings?
Asked by Jogchem Andre Oord:

Almost every third or fourth time when I want to create a PR from within Sourcetree i get this error:

![2018-04-18 14_57_52-Sourcetree.png](/t5/image/serverpage/image-id/19999iE512A157A366D34B/image-size/large?v=v2&px=999 "2018-04-18 14_57_52-Sourcetree.png")

When I open settings it does have settings configured:

![2018-04-18 15_02_09-Sourcetree.png](https://community.atlassian.com/t5/image/serverpage/image-id/20001i8932ABC7C3C75EDE/image-size/large?v=v2&px=999 "2018-04-18 15_02_09-Sourcetree.png")

So what I need to do to fix this is change Host Type to none, then back to Bitbucket and enter my username.

Why can't sourcetree remember this?


Answers:
author: Mike Corsaro
body: Hello! This is currently a bug on our end, and is pretty tricky to reproduce in our debug environment. There's currently an attempt to fix this in the 2.5.5 update that's currently rolling out.

comments: author: Jogchem Andre Oord
body: Thank you (and [@bgannin](/t5/user/viewprofilepage/user-id/744444)), I'll wait for the update then.


author: Jogchem Andre Oord
body: Hi,

This is still broken in the 2.5.5 update


author: bgannin
body: Hi,

There is a known bug about the occasional resetting of repository configurations. We've fixed it in the 2.5.x release which is currently in the process of being rolled out to users (50% as of today.)

Brian Ganninger  
Product Manager, Sourcetree

comments: author: Jogchem Andre Oord
body: I'm sorry, but this is still broken in 2.5.5.0 /cc [@Mike Corsaro](/t5/user/viewprofilepage/user-id/842547)

![2018-04-23 15_49_48-Sourcetree.png](https://community.atlassian.com/t5/image/serverpage/image-id/20374iB7A7642D7EC81624/image-size/large?v=v2&px=999 "2018-04-23 15_49_48-Sourcetree.png")![2018-04-23 15_51_35-Sourcetree.png](https://community.atlassian.com/t5/image/serverpage/image-id/20376i652DDD38ED109522/image-size/large?v=v2&px=999 "2018-04-23 15_51_35-Sourcetree.png")