youngmon/atlassian-qna huggingface dataset:
Can't prepare an expo build with bb pipelines
Asked by Mykhailo Malkush:

image: atlassian/default-image:2

pipelines:  
branches:  
master:  
- step:  
name: Packages  
script:  
- npm install  
- npm install -g expo-cli  
- npx expo export:web  
artifacts:  
- web-build/\*\*  
- step:  
name: Deploy to S3  
deployment: production  
script:  
- pipe: atlassian/aws-s3-deploy:0.3.8  
variables:  
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID  
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY  
AWS_DEFAULT_REGION: 'us-east-1'  
S3_BUCKET: 'book3.app'  
LOCAL_PATH: 'web-build'  
ACL: 'public-read'  

here is my pipeline.

But

npx expo export:web

fails with:

+ npx expo export:web  
(node:19536) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): SyntaxError: Unexpected token {  
(node:19536) \[DEP0018\] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.  
(node:19536) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): SyntaxError: Unexpected token .

It works fine on my local machine.  
Did you have any ideas what can be wrong?


Answers:
author: Patrik S
body: Hey [@Mykhailo Malkush](/t5/user/viewprofilepage/user-id/1663170) ,

Thank you for reaching out to Atlassian Community!

The error shown in your build seems to be related to your current code/configuration. I would suggest trying to debug your pipelines locally using docker, to replicate the same environment we have in bitbucket pipelines.

You can follow the instructions in the below documentation to run your build locally within a docker container :

* <https://support.atlassian.com/bitbucket-cloud/docs/debug-pipelines-locally-with-docker/>

By running it locally you can confirm if it fails with the same error or if it runs successfully. If it fails with the same error, you can try fixing it locally before pushing the changes to bitbucket, which would prevent you from wasting your build minutes.

Let me know if you have any questions.

Thank you, [@Mykhailo Malkush](/t5/user/viewprofilepage/user-id/1663170) !

Patrik S


Tags: bitbucket-cloud

cloud
Adding a remote repository
Asked by Gerald Britton:

In the Remote Repositories dialog, I put the first part of the name of the repo I want then hit enter. The resulting list contains repos that do not match my search string. Why is that?


Answers:
author: Ana Retamal
body: Hi Gerald! Welcome to the Atlassian Community :)

To help us troubleshoot this issue with you, can you share some more information with us:

1. Which OS and Sourcetree version are you using?
2. Can you send a screenshot of the error?
3. Does the repository you're looking for appear? Or not at all?

Best regards!

Ana


Tags: remote

repository
GitHub missing from installer option
Asked by Emanuele Stomeo:

Hi

I am trying to install SourceTree ver 2.5.5, however the option GitHub is not available.

Which version do I need to download to get GitHub option as described in the link below

<https://confluence.atlassian.com/get-started-with-sourcetree/install-sourcetree-847359094.html>

Currently I am getting this:

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


Answers:
author: mauligulati
body: I am on Mac Catalina (10.15.2) and can only see Bitbucket server and BB cloud options. I need Github. Please help.


author: Sarah Laube
body: I am on Windows and don't even get the Atlassian option. I can only choose between Bitbucket server and Bitbucket. I hava an atlassian account and Github. i don't want bitbucket. Please help.


author: David Martinez
body: I am using a Mac but I am also missing the GitHub option. I can't get past this very first step


author: Ana Retamal
body: Hi Emanuele! You should try downloading the latest version from [our website](https://www.sourcetreeapp.com/), you'll find the GitHub option there.

Let us know if you need anything else!

Ana

comments: author: Emanuele Stomeo
body: Thanks Ana for your suggestion.

Yes, I downloaded the latest version from <https://www.sourcetreeapp.com/>. I downloaded version 2.5.5 for Windows. Full file name is "SourceTreeSetup-2.5.5".

I can confirm that the option GitHub is not available with version 2.5.5 while installing SourceTree (2nd step during the installation is to select Bitbucket or Atlassian ). Is there another version with the option for GitHub?

Thanks

Emanuele


author: Ana Retamal
body: Hi Emanuele, sorry about that! I tried it myself before telling you but I missed that we're using different platforms (I'm on Mac).

So in Windows, the Welcome Wizard is a bit different and looks like you're mixing up Registration vs Host accounts.

To register in the Welcome wizard you have the following options:  

- Sourcetree for Windows (2.5+): Bitbucket Server, Atlassian account (what you showed us in your screenshot)  
- Sourcetree for Mac : Atlassian account  

During the Welcome wizard you have the following options to add Host accounts:  

- Sourcetree for Windows (2.5+): None \*  
- Sourcetree for Mac: Bitbucket, Bitbucket Server, GitHub

\* You can't add them through the wizard anymore, but you can add Bitbucket, Bitbucket Server, GitHub once you are through the Wizard and in Sourcetree following the steps at [Connect your Bitbucket or Github account](https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html).  

We are in the process of simplifying the welcome wizard process, and the two experiences will align again soon :)

Let us know if this is clear or if you have any other questions!

Kind regards,

Ana


Tags: github

install
Unresponsive over VPN
Asked by Daniel Thomas:

I have noticed that when working from home over vpn sourcetree becomes unusable, has anyone else witnessed this and have any suggestions? I am using Windows 7 currently


Answers:
author: miikhy
body: Hi Daniel,

After a quick look around, I can't find any similar case which wasn't solved by network setup. There's no known issue with VPN on SourceTree. It's usually a firewall thing which is preventing SourceTree from reaching Bitbucket!

Good luck!

Cheers


Tags: performance

vpn
How can I get External Diff to work in SourceTree?
Asked by Mike Taylor:

I have read all the other posts about setting up the External Diff. For some reason I can't seem to get it to work. I have version 2.5.5.0 SourceTree and Embedded GIT 2.16.2+git-lfs v2.3.4. Windows 10. My "Allow SourceTree to modify your local GIT" is set to TRUE.

I am trying to create a custom External Diff tool by calling a batch file from SourceTree with the Local and Remote tags. In Tools\>Options\>Diff I set the Diff tool to custom

My Batch File is :

echo %1  
echo %2  
pause

My hope is that I can see if the path are relative or absolute. I would then pass this to another application to open these files for a visual comparison. The Batch file NEVER opens because I never see the CMD window. I even pointed this to an EXE that would display the Arguments. It is never opening the "Custom" Diff tool.

Another point of concern is I was hoping to right click on a file and select External Diff(Ctrl+D) but this is grayed out. Even if I select "Beyond Compare" as my diff tool it is always grayed out. Beyond Compare works fine as a diff tool, except that my files are binary and Beyond Compare can't read them.


Answers:
author: Mike Corsaro
body: Hello! You're not seeing the command-line prompt open because it's running the bat file as a process without output. You can test that a custom diff is working by making a BAT file that just has "notepad.exe" in it: notepad should open when running the diff.


Tags: bulk-edit

diff

external
Can you delete this email from your block list?
Asked by Joshua Foster:

I was tasked with setting up an account for a user I tried about 4-5 times but never got an email, after browsing the community boards I came across this post

<https://community.atlassian.com/t5/Jira-questions/Users-didn-t-receive-account-activation-email/qaq-p/332604>

This was the solution given:

---------------------------------------------------------------------------------

Just want to give you an update / save you from the pain I went through...  

There is a KNOWN issue with Atlasssian activation emails. If the FIRST email that Atlassian tries to send gets bounced back it will add that email address to an internal block list, thus making it so they NEVER get the activation email.   

Remediation...  
Contact Atlasssian / open a bug report, tell them to delete the email from the block list and the user will be able to activate.  

Common Causes...  
Using automatic provisioning systems, like Okta, where Outlook lags behind in setting up the email.

---------------------------------------------------------------------------------

Can you help me with this?


Answers:
author: Cheri Hansen
body: I contacted Atlassian Support with several email addressess. they found these email addresses to be blocked. they unblocked them and the jira users started receiving emails immediately. Thank you Roberto!


author: AnnWorley
body: Please open a support request at <https://support.atlassian.com/contact/#/> including your Cloud URL and the support team will be happy to help. If there are any issues opening the ticket, please let us know on this thread.

comments: author: Joshua Foster
body: That was the page that I wrote this up on. I selected Technical issues and bugs -\> SourceTree-\>Ask a question. What was I supposed to select?


author: AnnWorley
body: Hi Joshua,

Forgive my confusion. I had the idea that you were inviting a user to a Cloud instance, in which case our blocked list would apply. However, if you are hosting Sourcetree, you will need to check your organization's email system. I would start with the mail queue to see if it is stuck there, and also double-check the spelling of the email address and the user's spam filter.

Thanks,

Ann


author: Joshua Foster
body: Thanks for your reply. I will check that shortly, or I suppose tomorrow when the support for that reopens. In the meantime it may be pertinent to mention that I used one of my alternate gmail accounts to setup the user temporarily. That one sent immediately and I was able to setup the account properly. But when I tried to change the email to his company address there was still no confirmation email. I checked all of the folders and filters that were set up, but none of them contained the email. Is this a common issue?
Source Tree is showing changes when they are none
Asked by dNazarik:

I work in Unity. All the time when I switch between branches I getting 1 unstaged file that locks everything. Source Tree says that file have been changed, but it is not. After reset this file becomes "changed" again. To switch branch I should commit this file. By the way this file is different in different branches. It could be LightingData.asset or some \*.dll.

My .gitattributes:

## Unity ##  
\*.cs diff=csharp text  
\*.cginc text  
\*.shader text  
\*.mat merge=unityyamlmerge eol=lf  
\*.anim merge=unityyamlmerge eol=lf  
\*.unity merge=unityyamlmerge eol=lf  
\*.prefab merge=unityyamlmerge eol=lf  
\*.physicsMaterial2D merge=unityyamlmerge eol=lf  
\*.physicsMaterial merge=unityyamlmerge eol=lf  
\*.asset merge=unityyamlmerge eol=lf  
\*.meta merge=unityyamlmerge eol=lf  
\*.controller merge=unityyamlmerge eol=lf  
## git-lfs ##  
#Image  
\*.jpg filter=lfs diff=lfs merge=lfs -text  
\*.jpeg filter=lfs diff=lfs merge=lfs -text  
\*.png filter=lfs diff=lfs merge=lfs -text  
\*.gif filter=lfs diff=lfs merge=lfs -text  
\*.psd filter=lfs diff=lfs merge=lfs -text  
\*.ai filter=lfs diff=lfs merge=lfs -text  
#Audio  
\*.mp3 filter=lfs diff=lfs merge=lfs -text  
\*.wav filter=lfs diff=lfs merge=lfs -text  
\*.ogg filter=lfs diff=lfs merge=lfs -text  
#Video  
\*.mp4 filter=lfs diff=lfs merge=lfs -text  
\*.mov filter=lfs diff=lfs merge=lfs -text  
#3D Object  
\*.FBX filter=lfs diff=lfs merge=lfs -text  
\*.fbx filter=lfs diff=lfs merge=lfs -text  
\*.blend filter=lfs diff=lfs merge=lfs -text  
\*.obj filter=lfs diff=lfs merge=lfs -text  
#ETC  
\*.a filter=lfs diff=lfs merge=lfs -text  
\*.exr filter=lfs diff=lfs merge=lfs -text  
\*.tga filter=lfs diff=lfs merge=lfs -text  
\*.pdf filter=lfs diff=lfs merge=lfs -text  
\*.zip filter=lfs diff=lfs merge=lfs -text  
\*.dll filter=lfs diff=lfs merge=lfs -text  
\*.unitypackage filter=lfs diff=lfs merge=lfs -text  
\*.aif filter=lfs diff=lfs merge=lfs -text  
\*.ttf filter=lfs diff=lfs merge=lfs -text  
\*.rns filter=lfs diff=lfs merge=lfs -text  
\*.reason filter=lfs diff=lfs merge=lfs -text  
\*.lxo filter=lfs diff=lfs merge=lfs -text  
\*.dll.disabled filter=lfs diff=lfs merge=lfs -text  
webrtcsharpwrap filter=lfs diff=lfs merge=lfs -text  
\*.so filter=lfs diff=lfs merge=lfs -text

Any ideas?


Answers:
author: Dave Newman
body: If you're working in Windows it could be the EOL problem.Most source/origin repos are stored in LF-only format while Windows insists on CRLF format. Git is supposed to be able to switch those back and forth on the fly as needed, but we have never gotten it to work properly all the time.

When you get these rogue files, switch the diff view settings from "Ignore whitespace" to "Show whitespace" (top right corner of Modified files panel). If you see a wall of pink when you show whitespace diffs, you have the EOL issue. I believe that's a Git problem, not Sourcetree.

comments: author: dNazarik
body: "Show whitespaces" was enabled. Still "no changes" for .dll file.

Ok, if it is really GIT problem, how can I fix it for myself?


Tags: lock
How to restore deleted branch in remote repository i dint have a local copy?
Asked by kiran kanumuri:

I accidentally deleted remote branch How to restore deleted branch in remote repository i dint have a local copy?


Answers:
author: Oman Costa
body: If you work in a team, the best idea would be ask someone else that has the branch locally to push it to the server. Is it your case?  

Otherwise, you could try this: [https://stackoverflow.com/questions/1992364/git-recover-deleted-remote-branch?utm_medium=organic\&utm_source=google_rich_qa\&utm_campaign=google_rich_qa](https://stackoverflow.com/questions/1992364/git-recover-deleted-remote-branch?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa)


author: kiran kanumuri
body: Hmm i checked with my team the branch i deleted is already merged .so it's not a problem for now as thanks you for your quick and prompt response :)

comments: author: Oman Costa
body: That sounds great! I'm happy that everything went well :D  
Best wishes.
How to solve "Too many invalid password attempts" error, even when using SSH
Asked by DDreher:

Since a couple of weeks I can effectively not use SourceTree anymore.

Always when pushing and pulling I get the following message:

*remote: Too many invalid password attempts. Log in at <https://id.atlassian.com/> to restore access.*

*fatal: unable to access 'https://REDACTED@bitbucket.org/REDACTED.git/': SSLRead() return error -9806*

When I reconnect my account this problem is gone for about 5 minutes, then it returns. So I though I'd be smart and use SSH with a key pair. But even though I have now set the account in SourceTree to use SSH with key pair I still get this exact same error. Of course I also tried the login at atlassian.

I use SourceTree version 2.7.3, with the embedded git version 2.16.2, on Mac OS 10.11.6.

I hope someone know whats up. I'm even more confused why SourceTree still tries to use https when I have set it to SSH.

I can also still push/pull via the command line.

Thanks for your help!


Answers:
author: Manju
body: Please check the remote URL for the repository. It looks like your account is ssh while the remote URL is https.


author: Ana Retamal
body: Hi! We have a fix coming for this in 2.7.4. Would you be interested to try an early access build and confirm the fix?

Let us know!

Ana

comments: author: Manju
body: Please find the direct download link for the 2.7.4 beta which includes a fix for this issue [here](https://bitbucket.org/atlassianlabs/sourcetree-betas/downloads/OSX_Beta_Latest.zip).

Kindly provide feedback if you see any issues with respect to "https" authentication with Bitbucket which returns 403 errors.

Thanks,  
Manjunath  
Sourcetree Mac Developer


author: DDreher
body: I have now used the beta for two weeks and I have not yet encountered this error anymore.

So the fix you've implemented works for me :)

Also I did not get any 403 errors.

Thanks you're an awesome team\&company!


author: Ana Retamal
body: So glad to hear that! Have a good day :)

Ana
Why does Sourcetree not allow me to delete my Github password?
Asked by Victor Chelaru:

I am on source tree version 2.5.5.0 on Windows 10 64 bit

1. I go to **Tools** -\> **Options** , **Authentication** tab
2. I expand the **Github - Https Saved Passwords** section
3. I click the **Delete** button to delete my password
4. I am asked if I am sure I want to delete the password. I click **Yes**

Observe: The Github password collapses, but is not removed from the Saved Passwords section

Expected: Deleting a password should remove the entry from the **Github - Https Saved Passwords** section

![2018-05-02_09-07-07.gif](/t5/image/serverpage/image-id/21153i4A77E02BBDF4D355/image-size/large?v=v2&px=999 "2018-05-02_09-07-07.gif")

This is a bug I've encountered before so I think it's been around for a while. Is there a fix for this?


Answers:
author: Ana Retamal
body: Hi Victor! Thank you for reporting this. This issue was already submitted to our issue tracker and you can find it at [SRCTREEWIN-8551](https://jira.atlassian.com/browse/SRCTREEWIN-8551).

The credentials are stored in Windows Credential Manager and can be deleted from there.

Git credentials are prefixed by 'git:', Mercurial credentials by 'hg:' and Sourcetree REST credentials by 'sourcetree'. In the meantime, you can have your password deleted by doing so directly in the Windows Credential Manager.

Hope that helps!

Ana  


author: Arjun Sivaprasadam
body: The link is broken and it still happens to me. What is a good workaround?
sourceTree - GitHub password altered - can t push my data anymore
Asked by fleb:

Hello

I receipted an email form github requesting me to change my password.

I did it.

I modified my hsoting account in sourceTree through options/authenfication. All sound OK

but when i want to push commit, the github windows comes up. i edit my id and password and i get an error windows.

![2018-05-02 14_54_10-Sourcetree.png](/t5/image/serverpage/image-id/21140i5106E8E8F3B13D65/image-size/large?v=v2&px=999 "2018-05-02 14_54_10-Sourcetree.png")![2018-05-02 14_57_11-Options.png](/t5/image/serverpage/image-id/21142i7CA2C2688690F8ED/image-size/large?v=v2&px=999 "2018-05-02 14_57_11-Options.png")

Don t know what goes wrong ?


Answers:
author: Ana Retamal
body: Hi Fabien! Have you tried removing your Github credentials completely from Sourcetree and add them again following the steps at <https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html>

If you're still having issues with the authentication, you can try to perform the same operation from the command line and see what happens. If the command line works fine and you're still having issues with Sourcetree, I'd advise [wiping Sourcetree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html) and entering your credentials again.

Let us know how it goes!

Ana


Tags: windows
How do I search by commit hash on Sourcetree 2.5.5 in windows
Asked by ymmuse:

There is three search type: Commit Messages, File Changes, Authors in Ctrl+3 UI.

But I want to search the commit hash How should I do?


Answers:
author: Mike Corsaro
body: To view a commit by SHA, you can use the "Jump to" feature, which allows you to search by full or partial SHA:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/21579i5E7A45CC219AD48E/image-dimensions/379x163?v=v2 "image.png")


author: Ewgenij Sokolovski
body: On Source Tree 2.6.10.0 I don't have that Jump to option :-(

comments: author: sniffleli
body: Switch to History View first(press Ctrl+2)?you'll see "Jump To" button at the upper right corner.
SourceTree crashes with System.BadImageFormatException on start
Asked by Mykhailo Huziuk:

In **Event Viewer -\> Windows Logs -\> Application** I find two following error records per each crash:

**Application Error:**

Faulting application name: SourceTree.exe, version: 2.4.8.0, time stamp: 0x5a5f7807  
Faulting module name: KERNELBASE.dll, version: 10.0.15063.1029, time stamp: 0x008ecb0e  
Exception code: 0xe0434352  
Fault offset: 0x000000000006a1a8  
Faulting process id: 0x46b8  
Faulting application start time: 0x01d3e1ef9133e576  
Faulting application path: C:\\Users\\USERNAME\\AppData\\Local\\SourceTree\\app-2.4.8\\SourceTree.exe  
Faulting module path: C:\\WINDOWS\\System32\\KERNELBASE.dll  
Report Id: 338b2bf0-4428-468e-9aa6-56304bbacf41  
Faulting package full name:  
Faulting package-relative application ID:

**.NET Runtime:**

Application: SourceTree.exe  
Framework Version: v4.0.30319  
Description: The process was terminated due to an unhandled exception.  
Exception Info: System.BadImageFormatException  
at SourceTree.App..ctor()  
at SourceTree.App.Main()


Answers:
author: Mike Corsaro
body: Hello! Can you try uninstalling Sourcetree, and reinstalling? Additionally, can you make sure you have the latest .Net Framework installed? Thanks!


Tags: windows
SourceTree hangs on installtion register account screen
Asked by Ken Olsen:

Inputting username and password to register the account starts a loop that seems to do nothing. After waiting for significant time I have udpated the password a number of times but the response in the installer is the same. That sucks.


Answers:
author: Ana Retamal
body: Hi Ken! Are you on Windows or Mac? If you're on Windows, make sure Internet Explorer is updated to the latest version as Sourcetree relies on it for authentication. If you're still having issues, send us a screenshot or a screencast of your logging attempt, so we can see what happens and continue helping you.

Kind regards!

Ana

comments: author: Ken Olsen
body: Reverted to gmail login and got past the issue. I'm not sure what the current version of Internet Explorer is since MS has gone a different direction with their browser in Windows 10.