youngmon/atlassian-qna huggingface dataset:
Stopped receiving email notifications for bitbucket commits
Asked by Alex_Zakrzewski:

For some time I've stopped receiving notifications related to repository actions.

Can you please check if our email domain is on the blocked list?


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

I searched in our system and your email address was in the suppression list (I didn't;'t find any other email from your domain there).

This occurred because we attempted to send an email to your email address some time ago, and received a hard bounce response from your mail server with the error message

```
550: 550 Requested action not taken: mailbox unavailable
```

I went ahead and removed your email from our suppression list, could you please keep an eye now for any Bitbucket notification emails from now on?

Kind regards,  
Theodora

comments: author: Alex_Zakrzewski
body: Thank you for this,

It was just my email that had this issue.

Mail providers have problems from time to time.

I just received a notification with the latest commit,

Many thanks,

Alex


author: Theodora Boudale
body: Thank you for the update Alex and you are very welcome, I'm glad to have helped.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Windows Runner Not Working
Asked by J. Cole:

I am attempting to implement a Windows runner on my Server 2019 instance. I ran the steps per the runner installation: 1) pull down runner zip 2) expand archive 3) change directory 4) execute start.ps1 with the required parameters.

Upon doing this, the Java window quickly appears and then flashes away. I can't even read if any errors are showing.

Please advise the proper troubleshooting steps.


Answers:
author: Patrik S
body: Hello [@J. Cole](/t5/user/viewprofilepage/user-id/4569408) ,

Thank you for reaching out to Atlassian Support.

I understand you are having issues to start your Windows runner, and the java screen just seem to pop up and close.

In order to make sure your environment is compliant with the [Windows Runner minimum requirements](https://support.atlassian.com/bitbucket-cloud/docs/runners/#Minimum-Requirements), could you please confirm if the following is applicable to your environment ?

* OpenJDK 11

* Git 2.35.0 and above

* PowerShell 5.0 and above

* A 64-Bit Windows 10+ or Windows Server 2019+ instance with at least 8GB of RAM as a host for the runner.

If your environment meets all the requirements above, I would like to ask you to download the latest version of the windows runner zip file, which usually contains bug fixes that might hep on the issue you are currently facing. By the time I write this message, the link of the latest windows runner version if the following :

    Invoke-WebRequest -Uri https://product-downloads.atlassian.com/software/bitbucket/pipelines/atlassian-bitbucket-pipelines-runner-1.315.zip -OutFile .\atlassian-bitbucket-pipelines-runner.zip

You can download and extract it, and use the same start command you were given when you first created the runner. Make sure to run the powershell as Administrator to execute the start.ps1 script.

Do let us know how it goes and if you are still facing the issue after the suggestion above.

Thank you [@J. Cole](/t5/user/viewprofilepage/user-id/4569408) !

Kind regards,

Patrik S


Tags: bitbucket-cloud

bitbucket-runners

cloud

windows
Is it possible to embed code snippets?
Asked by Sarah Van Den Berghe:

Is it possible to embed BitBucket snippets to another website (e.g. blogpost)?

I'm looking for something similar to Github Gists, where you can share snippets of code by embedding it somewhere. Is there a way to do this with the BitBucket snippets?


Answers:
author: Patrik S
body: Hello [@Sarah Van Den Berghe](/t5/user/viewprofilepage/user-id/4846455) ,

Welcome to Atlassian Community!

I've reviewed your case and understand you would like to have an option to embed your Bitbucket snippets to share your code. Unfortunately this is not currently possible out of the box, but we do have the following feature request to implement this functionality :

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

I would recommend adding your vote there, since this helps both developers and product managers to understand the interest.

Also, make sure you include yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind: <https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html>

Thank you, [@Sarah Van Den Berghe](/t5/user/viewprofilepage/user-id/4846455) .

Kind regards,

Patrik S.

comments: author: Sarah Van Den Berghe
body: Thank you for your answer! I added my vote. ?


Tags: bitbucket-cloud

cloud

embed

iframe

snippet
Stopped receiving PR email notifications
Asked by Umesh Swamy:

Few people in our team have stopped receiving Bitbucket email notifications for PRs, mentions etc. However, we are receiving other emails from Atlassian (info@e.atlassian.com).  

Can you please check if our email domain is on the suppression list?


Answers:
author: Caroline R
body: Hi, [@Umesh Swamy](/t5/user/viewprofilepage/user-id/4846355), welcome to the community!

I checked our logs and confirmed that your email domain had a block on the server that prevented emails from being sent to you. So I removed your domain from this suppression list.

Could you please confirm if you receive Bitbucket emails now?

Kind regards,   
Caroline

comments: author: Umesh Swamy
body: Thank you [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) for your quick response to this issue. I can confirm that we are receiving Bitbucket PR emails now.

Have a great day :)


author: Caroline R
body: Hey [@Umesh Swamy](/t5/user/viewprofilepage/user-id/4846355), thanks for your confirmation! I'm glad to know you are receiving the emails again. Have a great day you too!

Kind regards,   
Caroline


author: Umesh Swamy
body: Hi [@Caroline R](/t5/user/viewprofilepage/user-id/3934006), I've stopped receiving the PR email notifications. Can you please check if our email domain has ended up on the suppression list again?


Tags: bitbucket-cloud

cloud

email

notification
Partial string search is not working on Bitbucket Data Center with ElasticSearch
Asked by akota:

![BSearch1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/190544iE68DF4498363226D/image-size/large?v=v2&px=999 "BSearch1.PNG")Hi, the search with partial string is not working on Bitbucket. When I search for the word "LinkStatuses" it shows 2 files but when I search "LinkStatus" no results are found.

Please see the images attached.

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


Answers:
author: Marek Suchecki
body: Hello [@akota](/t5/user/viewprofilepage/user-id/2181667),

This seems to be the same issue as the one raised in the bug report [BSERV-9373](https://jira.atlassian.com/browse/BSERV-9373)

If this is indeed the case, please add yourself as a watcher, vote and comment on this bug, to further express your interest.

Kind regards, Marek


Tags: bitbucket-server

data-center

search

server
Why is it impossible to change your username in SourceTree?
Asked by Nick Myers:

I entered the wrong username when trying to do a Pull. Every time I try to do a Pull, it prompts me for a password, but never for a username. I've looked at dozens of posts online, and clicked through every menu I could find, and I've concluded that it is impossible to change your username. Why???


Answers:
author: cvcolomb
body: Same, or at least similar problem here. One of my repos has a different username, but Sourcetree is only showing me the default. I go into setting for that repository and change username, but it isn't used when I try to pull. I tried editing the config file as well, no change.


author: Alan Hayes
body: Hi, I also am completely frozen out of Source Tree 2.2 on my Macbook.

I installed SourceTree, entered an incorrect username, and now I can't change it.

Also, Preferences are disabled, clicking anything just makes a bell sound.

I've tried uninstalling, and there are no remnant config files that I can find. But after reinstalling, I still see my incorrect username, which I cannot change.

Help!

Alan


Tags: user
Is the SourceTree Mac app susceptible to the recently exposed Sparkle vulnerability?
Asked by Ken Taylor:

I was surprised to not find any reference to this issue on the support site.


Answers:
author: Seth
body: I was browsing other questions to find the ID of an Atlassian staff member, and found this question: <https://answers.atlassian.com/questions/36117100>

Which referenced this bug: <https://jira.atlassian.com/browse/SRCTREE-3379>

comments: author: Ken Taylor
body: That does address the issue and the fix has been included in version 2.2 released today.


author: sachinhallad
body: I upgraded to latest version 2.2. But still I am seeing that http protocol is being used for the AppCast xml .So I believe its still susceptable to MIMA.


author: Der Lun
body: HTTP protocol works the same irregardless of which operating system you are using so short answer is yes you are vulnerable to man in the middle attack until you have upgraded to the fixed version that does not contain this vulnerability.


author: Ken Taylor
body: I haven't looked into why that command doesn't pick it up but SourceTree looks to me to be using it. I have the latest version (2.1) installed and the value of CFBundleShortVersionString in the following file is 1.8.0:

`/Applications/SourceTree.app/Contents/Frameworks/`Sparkle.framework/

Versions/A/Resources/Autoupdate.app/Contents/Info.plist


author: Seth
body: I found this in a comment online: <http://arstechnica.com/security/2016/02/huge-number-of-mac-apps-vulnerable-to-hijacking-and-a-fix-is-elusive/>
> Here's how to list all apps that use Sparkle on your system, and what version they are using:  
>
> find /Applications -path '\*Autoupdate.app/Contents/Info.plist' -exec echo {} \\; -exec grep -A1 CFBundleShortVersionString '{}' \\; \| grep -v CFBundleShortVersionString  
>
> You're looking for versions prior to 1.13.1 (as per <https://github.com/sparkle-project/Sparkle/releases>). These are vulnerable if they are set to load any assets over unsecured HTTP. Perhaps someone else can chine in on where those URLs can be found.

IF SourceTree doesn't use Sparkle, I'm not sure why they'd be expected to comment about it. To be fair, I don't use a Mac, so I can't check this myself. Maybe they do use Sparkle and should be more on top of the issue, idk.


Tags: vulnerability
Can I use sourcetree with a remote working copy
Asked by jahrvos:

For a webproject I am directly working with filezilla on the host of the site. Is it possible to add a working copy from a web url?


Answers:
author: Seth
body: No, Git is not designed to control working copies over a network. You might be able to make it work using some sort of network-attached storage (make the remote files appear in your local filesystem), but many people have reported problems using Git with these setups.

The better approach is to clone the repository to your local machine, and either use FileZilla to copy files up when they're ready, or use the push-to-deploy feature introduced in Git 2.3: <http://krisjordan.com/essays/setting-up-push-to-deploy-with-git>


author: Cherny D. C. Berbes? I.
body: I don't think so. You probably need a way to access locally depending on your OS
i have lots of conflictions in my code, but there is no way to click "OK" button
Asked by Anand Mahajan:

upload.png  

Please suggest what should i do now.  

Thanks!  
[](https://community.atlassian.com/t5/Sourcetree-questions/i-have-lots-of-conflictions-in-my-code-but-there-is-no-way-to/qaq-p/103487?attachment-id=8253){#link_1169a5ab61f2ae}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/2933/1/upload.png){#display_1169a5ab61f2ae_0}


Answers:
author: Tim Crall
body: what about that little X in the top right corner?

comments: author: Anand Mahajan
body: this will close the popup.


author: sreekumar_menon
body: if pressing Enter does not work as Seth F suggested above, the other option is to commit manually one time .

select terminal and run..

git add.

git commit -m "initial commit"

let us hope that this window will be scrollable in future version of ST and buttons will be fixed on the bottom.

comments: author: Anand Mahajan
body: yes it's working with terminal   
thanks a lots :smile:
When I download the metadata from salesforce and copy over the local git repository, sourcetree show every files are different event the code are the same.
Asked by David Wong:

Every time I download the metadata from salesforce and try to merge it back into local Bitbucket branch, the sourcetree show all my files are different even there are no code changes in the comparison. How do I resolved this issue? This issue is in Windows version of sourcetree, but I do not have the same issue in Mac.


Answers:
author: sreekumar_menon
body: when you do diff ,what does it show ?

I would check if the new line character is causing the difference .

<https://help.github.com/articles/dealing-with-line-endings/>


author: Tim Crall
body: Yes, it's definitely a difference in white space, most likely the line endings (which are different on Windows computers than on unix-based computers such as Macs and, presumably, your server).

You can tell SourceTree to ignore changes in whitespace. I think it will still list the files as changed but it at least won't show the lines as changed in the diff view.

Screen Shot 2016-02-10 at 9.53.12 AM.png

[](https://community.atlassian.com/t5/Sourcetree-questions/When-I-download-the-metadata-from-salesforce-and-copy-over-the/qaq-p/357999?attachment-id=8280){#link_1169a5d9efb93f}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/10691/1/Screen%20Shot%202016-02-10%20at%209.53.12%20AM.png){#display_1169a5d9efb93f_0}
Please update SourceTree appcast to use SSL
Asked by Fabio Napoleoni:

I've just updated SourceTree to latest version and it's still referring to an http url to retrieve appcast feed with application updates.

```
defaults read "/Applications/SourceTree.app/Contents/Info.plist" SUFeedURLhttp://www.sourcetreeapp.com/update/SparkleAppcast.xml
```

See [this old question](https://answers.atlassian.com/questions/209864/sourcetree-for-security-reasons-you-need-to-distribute-your-appcast-over-ssl-or-sign-your-updates-see-sparkle-s-documentation-for-more-information?continue=https%3A%2F%2Fanswers.atlassian.com%2Fquestions%2F209864%2Fsourcetree-for-security-reasons-you-need-to-distribute-your-appcast-over-ssl-or-sign-your-updates-see-sparkle-s-documentation-for-more-information&application=acac) and [this thread](https://vulnsec.com/2016/osx-apps-vulnerabilities/) for more info.

Please update it ASAP


Answers:
author: Jeff Thomas
body: Hi,

We're tracking the fix for this at the following ticket and the changes will be released in version 2.2 of SourceTree.

<https://jira.atlassian.com/browse/SRCTREE-3379>
Stash pull issue
Asked by pravihs:

We are using Stash as our SCM. Currently we are a team of three (developer1,developer2,developer3). Developer1 is working on branch1 of a stash repository. He has pushed some changes on branch1 which I am also working.I want to pull the branch1 data from remote server to my working copy.

But pull got aborted because I have my local changes via 'source tree tool'. How can I keep my local changes and pull the data from remote server without overwriting it? I want to push the local changes to remote afterwards as latest commit.

I was using SVN before. In SVN If my working copy have the old commit, svn client will prompt me to update my working copy and subsequently ask me to merge my changes if there is need. I need similar feature now.

Please help.  
[](https://community.atlassian.com/t5/Sourcetree-questions/Stash-pull-issue/qaq-p/240378?attachment-id=9903){#link_117361ee7a4f06}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/7017/1/image2016-2-11%208%3A35%3A51.png){#display_117361ee7a4f06_0}


Answers:
author: Seth
body: With Git you have two options.

Most common: commit your local changes, then Pull. This will automatically merge the remote branch with your local branch, then you can push.

A different option would be to Stash your uncommitted changes ("stash" is also a git feature, not just an SCM), pull the remote branch, then apply the stash, commit, and push. Stashing basically packages up uncommitted changes and restores your working copy to a clean state.

comments: author: Tim Crall
body: Agreed; I think git (SourceTree) will behave just as you want it to if you just commit your changes before pulling. Although I'd also recommend that you consider working on separate feature branches and merging only as a specific conscious step (but regularly!)


author: pravihs
body: Thanks Foss. How can I 'git stash' using stash tree? I dont find any options as such in source tree tool.


author: Seth
body: If you're using Git, you should have a "Stash" button at the top of your SourceTree UI. It might be called something different if you're using Mercurial.

image2016-2-11 8:35:51.png


author: pravihs
body: Thanks. Found it. It was hidden since there was no change in the working copy earlier.
How to pull LFS files (GitLab)
Asked by Naphier:

I am primarily using GitLab and just started using LFS. When I commit+push LFS tracked files teammates who pull the commits down only get stubs for the files. Any ideas on what we are missing?


Answers:
author: Ben Humphreys
body: Hi Sean,

When your colleagues clone a repository with LFS content, two things are necessary to ensure the LFS pointers are replaced with the real objects.

Firstly, they must have LFS installed on their Git client. For the command line client this means running the "git-lfs install" command, which will add the following lines to the .gitconfig file in their home directory:

```
[filter "lfs"]
 clean = git-lfs clean %f
 smudge = git-lfs smudge %f
 required = true
```

Next, the committer (you in this case) must have ensured that the .gitattributes file was checked in. This file is updated when you run the "git lfs track" (or untrack) commands. It will have lines like this:

```
*.jpg filter=lfs diff=lfs merge=lfs -text
*.tif filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
```

So, with those two things, when your colleagues clone or pull from the repository two things happen. Their Git client knows to run the "git-lfs" filter, and then the filter knows that for each of the file patterns in the .gitattributes file that it should fetch (if necessary) the real objects from LFS.

Hope this helps.

Regards,  
Ben

comments: author: Naphier
body: Thanks. It must be the git lfs install that is missing.

I think I was under the impression that .gitconfig gets committed, but I'm seeing it does not.

I was also under the impression that SourceTree had git-lfs installed and didn't need the git lfs install command.

So does that need to be done for every repository or is it global?

Also, it would be awesome if the lfs filter in the gitattributes triggered some sort of warning to tell the user to run git lfs install. Odd thing is: I thought it did give an error about clean and smudge, but my colleague's client never complained.

Thanks again. I'll share this with him and hopefully it will rectify future issues.


Tags: git-lfs

gitlab
SourceTree unexpected end of file error trying to finish hotfix
Asked by David McKinnon:

When trying to use the Finish Current Git Flow button for a Hotfix I get these errors:

```
/Applications/SourceTree.app/Contents/Resources/git_local/gitflow/git-flow: eval: line 84: unexpected EOF while looking for matching `''/Applications/SourceTree.app/Contents/Resources/git_local/gitflow/git-flow: eval: line 85: syntax error: unexpected end of file/Applications/SourceTree.app/Contents/Resources/git_local/gitflow/git-flow-hotfix: eval: line 125: unexpected EOF while looking for matching `''/Applications/SourceTree.app/Contents/Resources/git_local/gitflow/git-flow-hotfix: eval: line 126: syntax error: unexpected end of fileBranch 'hotfix/-k' does not exist and is required.
```

Using SourceTree 2.1 on Mac OS X 10.11.3


Answers:
author: David McKinnon
body: Ah. Having an apostrophe in the branch name isn't good.

Note to self: never do that again.
Licensing Of Source Tree
Asked by Hitesh Singla:

Hi

We want to use source tree tool for Managing Repository which can include Branching,Merging,Resolving Conflicts.

Do we need to buy any subscription to perform above task in source tree?


Answers:
author: Mr. Wolf
body: Hi,  
SourceTree is free but you need to register after 30 days.

<https://www.sourcetreeapp.com/register/>

Greetings,

Oliver
Can SourceTree diff be configured to skip files with only whitespace changes?
Asked by Chris Jennings:

I want to see changes only in files where diff is not whitespace. The ignore whitespace feature shows all the files and I have to select files to see whether the diff contents are empty or not. Is there a way to make SoureTree show only the file names that have non-whitkespce changes?

In the command line I can use \`git diff -b --numstat\`. The result lists white-space only files with 0 (zero) numstats. I can then grep to shorten the list to just the file names I want. But then I have to hunt for the file names in SourceTree.

Example command line....  
git diff -b --numstat 1d6e770 59b2b7c \| grep -E "\^(\[\^0\]\|\\d\*\\t\[\^0\])"

Thanks!


Answers:
author: Chris Jennings
body: Thanks for the reply Cherny.

I don't see how custom actions will help. It looks like they just run scripts outside SourceTree. I need to change how SourceTree displays the files.

I've only scratched the surface of custom actions though. Maybe I missed something.


author: Cherny D. C. Berbes? I.
body: Try adding a custom action
I have 2-step authentication enabled. How to login to SourceTree app on Mac?
Asked by codingonsteroid:

I have also tried to create a team on Bitbucket for getting the API keys, hoping if could login via team in SourceTree. Following this post: <https://confluence.atlassian.com/display/SOURCETREEKB/Two-Factor+Authentication+(2FA)+with+GitHub+in+SourceTree>

But then I didn't found an option to generate API keys in my team portal. Please help, me mainly Bitbucket for my personnel work


Answers:
author: Jeff Thomas
body: You're running into one of the known limitations of 2FA and SourceTree at the moment. Currently, SourceTree will use SSH to do most everything with Bitbucket except build a list of repositories. There is an open feature request [here](https://bitbucket.org/site/master/issues/11774/application-specific-passwords-or-tokens) to allow application specific passwords, this would allow SourceTree to use that set of credentials and get the list of repositories. Until then, you'll need to manually add the repositories into SourceTree as it's not possible to authenticate with SourceTree to Bitbucket once 2FA is turned on.

This is explained in a bit more detail on the [Two-step verification](https://confluence.atlassian.com/display/BITBUCKET/Two-step+verification#Two-stepverification-Knownapplicationissues) documentation.


Tags: authentication

bitbucket