youngmon/atlassian-qna huggingface dataset:
Can you please help me remove this link due to copyright violation?
Asked by Ginzel workbook:

<https://bitbucket.org/ohurawuj/workspace/snippets/ne5o8b/revisions/616c2603a5b4fb134617834c63e2aa95aed1cf36>

Please help me to remove this link from Bitbucket as it violates our copyright. Thank you.


Answers:
author: Andy Heinzer
body: Hi [@Ginzel workbook](/t5/user/viewprofilepage/user-id/4760673)

For copyright claims, please see our page over in <https://www.atlassian.com/legal/copyright-and-trademark-violations>

From that page:
> If you believe that any content in our Services violates your copyright, you should notify Atlassian's copyright agent in writing pursuant to the Digital Millennium Copyright Act ("**DMCA**"), 17 U.S.C. ? 512(c)(3). The contact information for Atlassian's copyright agent is at the bottom of this section.
>
> In order for Atlassian to take action, you must do the following in your notice:
>
> (1) provide your physical or electronic signature;
>
> (2) identify the copyrighted work that you believe is being infringed, or, if multiple copyrighted works are covered by the notice, a representative list of such works;
>
> (3) identify the item that you think is infringing and which is to be removed or access to which is to be disabled, and include sufficient information about where the material is located (including which website) so that Atlassian can find it (such as the item's URL);
>
> (4) provide Atlassian with a way to contact you (such as address, telephone number, or email);
>
> (5) provide a statement that you believe in good faith that the item identified as infringing is not authorized by the copyright owner, its agent, or the law to be used by Atlassian; and
>
> (6) provide a statement that the information you provide in your notice is
>
> * accurate, and that
> * under penalty of perjury, you are the copyright owner or are authorized to act on behalf of the copyright owner whose work is allegedly being infringed.
>
> We will promptly notify the alleged infringer that you have claimed ownership of the rights in this content and that we have complied with your takedown notice for the content.
>
> Here is the contact information for Atlassian's copyright agent:
>
> Atlassian Pty Ltd  
> c/o Atlassian, Inc.  
> 350 Bush Street  
> San Francisco, CA 94104  
> Attn: Copyright Agent  
> E-Mail: [copyright@atlassian.com](mailto:copyright@atlassian.com)

If you can reach out to that email address with the required information, then perhaps our legal team can then take the next steps.

Andy


Tags: bitbucket-cloud

cloud
Getting yarn 3.1.1 not found. Is there a workaround?
Asked by Sergey Shteyn:

While using the following image

```
image: node:17.4.0
```

> ```
> Getting errorr
> ```

>     + yarn install
>
>     node:internal/modules/cjs/loader:936
>
>
>
>     Error: Cannot find module '/opt/atlassian/pipelines/agent/build/.yarn/releases/yarn-3.1.1.cjs'
>
>     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
>
>     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
>
>     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
>
>     at node:internal/main/run_main_module:17:47 {
>
>     code: 'MODULE_NOT_FOUND',
>
>     requireStack: []
>
>     }

Is there a workaround?


Answers:
author: Ankit Gupta
body: You can add the below to your scripts, this should update the version

```
yarn set version 3.1.1
```

comments: author: Florian Probst
body: Sadly it doesn't (if tried it already in different contexts - root-, build- and home-dir ...), always with the same error - i really don't know why it is looking for the latest node berry version, but i'm not a yarn/node expert:

```
+ yarn set version 3.1.1

node:internal/modules/cjs/loader:936

throw err;

^

Error: Cannot find module '/opt/atlassian/pipelines/agent/build/.yarn/releases/yarn-3.1.1.cjs'

at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)

at Function.Module._load (node:internal/modules/cjs/loader:778:27)

at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)

at node:internal/main/run_main_module:17:47 {

code: 'MODULE_NOT_FOUND',

requireStack: []

}

Node.js v17.4.0
```

The quick and dirty solution for me was to download yarn manually and put it on the place where node is looking for it until we have a real solution for this issue.

```
- mkdir -p /opt/atlassian/pipelines/agent/build/.yarn/releases

- curl -o /opt/atlassian/pipelines/agent/build/.yarn/releases/yarn-3.1.1.cjs https://repo.yarnpkg.com/3.1.1/packages/yarnpkg-cli/bin/yarn.js

- corepack enable

- yarn set version berry
```

I know it will only work for a limited time, so this is no real solution.

<br />

BR,  
Florian


author: Florian Probst
body: We have the same problem when trying to migrate from Docker multistage builds to Bitbucket Pipelines.

Same docker image (I've compared the hashes) works locally and in Docker multi-stages builds with the same set of commands, only Bitbucket Pipelines fails.


author: Ankit Gupta
body: As per the image details for \`node 17.4.0\`, it contains yarn \`1.22.17\` that is the older version (1.x).

<https://hub.docker.com/layers/node/library/node/17.4.0/images/sha256-f9b18e024fc10ebc95d53c5d7cd6858779a7e3670ec6d24bebe8f2353fdf37b1?context=explore>

For berry, which is the newer version you might need to create your own image replacing the yarn package.


Tags: bitbucket-cloud

cloud
Deprecating Atlassian account password for Bitbucket API and Git activity
Asked by Cole McGinn:

Hello, I was looking at the following article and had more questions on its effects:  
<https://bitbucket.org/blog/deprecating-atlassian-account-password-for-bitbucket-api-and-git-activity>

We utilize the Bitbucket API to clone git repos. I believe we use the access token method (we are utilizing this library with it's default OAuth2 method: [https://www.npmjs.com/package/bitbucket-api-v2\\](https://www.npmjs.com/package/bitbucket-api-v2)) but I was just wondering what affect this would have on our workflow? I don't believe it would effect us but I wanted to make sure we are all good.


Answers:
author: David Dansby
body: Hello Cole

I'm David and I work on the Bitbucket Cloud team as a software engineer.

The change could impact you depending on how you are generating those access tokens. Which OAuth 2.0 flow are you using? If you are using OAuth 2.0 Resource Owner Password Credentials Grant (4.3) to generate access tokens **then this change will impact you**.

Bitbucket Cloud no longers allows OAuth 2.0 Resource Owner Password Credentials Grant (4.3) flow. We do, however, still support the remaining three OAuth 2.0 ([RFC-6749](https://datatracker.ietf.org/doc/html/rfc6749#section-4)) grant flows, plus a custom Bitbucket flow for exchanging JWT tokens for access tokens.

I would recommend that you ensure that you are using one of the supported methods for getting access tokens for Bitbucket Cloud API authentication. You can find more details here on our API documentation page: <https://developer.atlassian.com/cloud/bitbucket/rest/intro/#authentication>

Happy coding,

David Dansby


Tags: bitbucket-cloud

cloud
External diff tool broken
Asked by dsmoore1600:

When I attempt to use the external merge tool or external diff tool, it will not open. I have to navigate through explorer and use Tortoise GIT just to use Win Merge on my files due to conflicts. This is in version 1.6.14.0 on Windows 7. The external merge pops up the window like it used to when the merge tool was open, but it is only up for about a second and closes. On the external diff it just doesn't do anything at all.


Answers:
author: dsmoore1600
body: Sorry, as soon as I posted this question, I figured out the error, I needed to setup the diff and merge tools again, as my machine and user account had recently switched domains.
How to recover reset files
Asked by Hardik Vaghasia:

Hi,

I have reset few staged/unstaged files by mistake and that file changes was very crucial. Is there any way to get those changes back?

Please advice.

Thanks

Hardik


Answers:
author: Seth
body: You may be able to recover some of the changes in your staged files:

<http://stackoverflow.com/questions/11094968/in-git-how-can-i-recover-a-staged-file-that-was-reverted-prior-to-committing>

According to everything I've seen, there's nothing to do that's native to Git or SourceTree for files that were never staged to begin with. Maybe you have other software that created a backup (OS, IDE, etc).


author: Bal?zs Szakm?ry
body: If the changes were edits to existing files, they are removed from the files and you cannot retrieve them from there. Your IDE or merge program might have backup files of an earlier state of the files.

If the files were now, untracked files, you might be able to undelete them.
SourceTree ignores changes on file with many changes
Asked by A.M.:

Hi

I have made many changes to a file. The file has 2982 lines. After line 1716, no changes are being displayed in SourceTree FileStatus.

I inserted a change on top of file. Itshows up in SourceTree view.

I inserted a change on bottom of file. It looks like SourceTree realizes the change and reloads but still, all changes after line 1716 are not shown.  

GitHub GUI shows all changes fine.  
What should I do? I like SourceTree very much and would be happy to find a solution for it.

Thanks


Answers:
author: A.M.
body: Ok I found it. Diff Settings (found in options) changed from 500 to 5000

Feature Request:

Display a text at the bottom of the changes listing that there are more and/or are suppressed by this setting.

Or set it higher. Or remove it completely. Who does want a limit anyway? Those people should be able to activate a limit if they like. But not the other way around.

Maybe I (or someone else) has commited a file with changes he does not wanted to be commited just because it was not being displayed!!!!   
At least at commit time should be a fat warning about this.

comments: author: Bal?zs Szakm?ry
body: For the feature request, create a ticket at jira.atlassian.com and post the link to it here so people can vote for it.


author: Seth
body: Long diffs cause severe performance problems for a significant number of users. As Balazs said, you should file a feature request at jira.atlassian.com regarding some text in a cropped diff about how to extend it.
SourceTree doesn't squash more than two commits.
Asked by Deniz Ayikol:

I'm using 1.6 on Windows. When I use interactive rebase and squash multiple commits into one, the result is that only the two most recent commits are squashed. So I have to repeat the process until all the commits are squashed. Is this a bug?


Answers:
author: Filip Paj?k
body: Using git-for-windows 2.11.0 as *Use System Git* seems to resolve problem.
Setting up extdiff
Asked by pbwest:

I have written an extdiff script to allow for diffing the text of documents like Microsoft Office XML and CDF files, and OpenOffice files. It takes its inspiration from the oodif-odt2txt combination, but uses Apache Tika for file type detection and conversion. I use kdiff3 for the actual diff GUI.

The main problem I ran into when setting it up was PATH-related. SourceTree sets up its own PATH, so you must specify the full path to your script, and if you are calling any ancillary scripts for within the main script their path will have to be specified. My script lives in \~/bin, and calls a number of other scripts in there, so I found that the easiest solution was to add

export PATH="$PATH:$(dirname $0)"

at the top of the main script.


Answers:
author: Seth
body: Ah, ok, so question and answer. Thanks for sharing!


author: pbwest
body: I was going to ask for help resolving the problem that turned out to be the PATH, so I've posted the answer for the next person who runs into trouble.


author: Seth
body: Cool, but what's your question?
what is fetch?
Asked by Arthur Hester:


Answers:
author: Tim Crall
body: Fetch downloads the specified content and puts it in a special commit pointed to by FETCH_HEAD but (unlike pull) does not attempt to merge it into the existing content.


author: Arthur Hester
body: <http://stackoverflow.com/questions/292357/what-are-the-differences-between-git-pull-and-git-fetch>

GIT: FETCH AND MERGE, DON'T PULL   
<http://longair.net/blog/2009/04/16/git-fetch-and-merge/>
Track branch changes automatically
Asked by Jawwad Farooq:

Hi,

In SourceTree, whenever I push code to some other remote branch, tracking option of that branch is automatically changed to that remote. How can I always fix the tracking to my local remote?

Regards,

Jawwad


Answers:
author: Tim Crall
body: Are you pushing to another remote? Do you just want to avoid changing the tracking information when pushing to a remote other than your origin? You can uncheck the box under the "Track?" column on the Push dialog.


author: Jawwad Farooq
body: Means the "origin"


author: Tim Crall
body: What do you mean by a "local remote"?
How to add windows symbolic link to repo
Asked by ?iga Jane?:

I have windows machine and I would like to add a new directory to my repo with SourcTree Win App.

I have already created Directory Junction and files are seen in SourceTree.  
But when I click on them to become Staged files I got this error:

git -c diff.mnemonicprefix=false -c core.quotepath=false add -f -- xxx/yyy  
fatal: 'xxx/yyy' is beyond a symbolic link

Completed with errors, see above.

Is there any chance to add these files to my repo?


Answers:
author: ?iga Jane?
body: I have "solved" the problem by changing target and directory. Now directory is within my local repo and link is created other "folder".

But sill question remains.
Cant install SourceTree
Asked by janisroze:

I get an error installing SourceTree on Windows 8.1 64x. a DLL can not be run or something like that.

the full error message:

"There is aproblem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personell or package vendor."


Answers:
author: William Zanchet [Atlassian]
body: Hi Janis,  

You must download the .Net 4.5 stand-alone installer yourself beforehand (<http://msdn.microsoft.com/en-us/library/5a4x27ek.aspx>).  

Cheers,

WZ

comments: author: Bal?zs Szakm?ry
body: She has Windows 8.1, .Net 4.5 is built in. If it is .Net, it has to be an older version.


author: Bal?zs Szakm?ry
body: You probably need an older version of the .Net framework or C++ runtimes you don't have.


author: janisroze
body: i have added it


author: Bal?zs Szakm?ry
body: Please give the full error message, your description is too vague.
How to preserve merges during rebase in Source Tree?
Asked by Krystian Szcz?sny:

I often use Source Tree to rebase commits and change message, however merge commits are not listed on the list, and I often forget to change the message during merge (automatic merges FTW), so I have to change it later on to pass commit hooks.

Unfortunately they are not listed.


Answers:
author: Bal?zs Szakm?ry
body: This is not a question. If you want to create a feature request, you can do that at <http://jira.atlassian.com> . (Search the list first, there is probably already a request for this.) Please post the link to the JIRA item here in a comment so others can vote for it.

comments: author: Krystian Szcz?sny
body: Balazs: it's actually a question, I didn't know it's not there.


author: Bal?zs Szakm?ry
body: OK, sorry. :) Anyway, if you want it to list merge commits, that is a feature request.
How can I validate my Bitbucket email for SourceTree registration?
Asked by efc:

When I try to register SourceTree with my Bitbucket email and login, I get a message that says that my email need to be validated to continue. However, I can't find any option to send a validation request from Bitbucket. How do I validate my Bitbucket email?

By the way, I don't have any trouble logging in to Bitbucket itself or receiving emails at this address from Bitbucket.


Answers:
author: efc
body: I think I just figured this out. The login required is NOT a Bitbucket login but an Atlassian login. This is quite confusing and not at all explained in the SourceTree UI. Using my Atlassian login did the trick.


Tags: validation
Source Tree Performance
Asked by Daniel Kraffner:

Hello,

My Team has been using Sourcetree for about 3 years now. (i'd say)

But since several months, the performance is getting worse and worse - for all team members.

I have no doubt, that this might be related to the project(s) layout - the question is, if there is anything we can do, to restore an "acceptable" performance.

The current situation looks like the following:

* Projects tracked on github: 11
* Tags tracked per project: about 120
* Branches per Project: master / dev and about 50-100 feature, hotfix and release branches per project..

Currently SourceTree has become "unusable". A Regular Release Workflow (always including 3 Projects) takes around 45 minutes - just to create 3 release branches, and finishing them. (Merge-Time excluded, that's just the time "SourceTree" is loading...)

For example:

* Clicking on the "Git Flow" Button , waiting for the "Next Flow Action" - 30 seconds minimum.
* Clicking on "Start new Release" - 4 Minutes until the Release branch is ready, or an error message about uncommited changes appears.
* Waiting for the select-Field to "Load" available Releases / Hotfixes to finish: 1 Minute, best case.
* Finishing an Release - about 4 Minutes as well.
* Waiting in between until the "Log" Window has refreshed (after EVERY action): roughly 30 seconds.
* Just Switching a "Project-Tab": 10 seconds.
* Opening a Project, whichs history has not yet been loaded: 2-3 Minutes.
* Trying to select "5 out of 15 files to commit": Forget about. After each "checkbox", you have to wait at least 30 seconds until the UI becomes responsible again...

I even deleted all repositories, reinstalled SourceTree and checked out everything fresh and clean.

---

I don't want to bitch arround, i'd like to have this "solved" :smile: Is there anything I could do, to help you identify the problems? (Some Verbose-Logs, etc.?)

---

Performin equal operations (commit, push, merge) from the commandline finishes in a few second. So I think github / connectivity or system performance can be excluded.   

ps.: Version 1.6.14.0  

best,  
daniel.


Answers:
author: Daniel Kraffner
body: Okay.... Just found this article: <http://www.systemroot.ca/2014/08/fix-sourcetree-slow-on-windows/>

Even if i'm not using any of the mentioned Software - I killed "Kaspersky" - and there you go. Fastest SourceTree ever...

Will talk to our Sys-Admin :smile:


Tags: github

performance
Any way to add a working copy by using a SourceTree:// url?
Asked by Manel Ib??ez:

In the same way we can add a repository from a remote server by using:

[sourcetree://cloneRepo?type=stash\&baseWebUrl=SERVER\&cloneUrl=GIT_LOCATION\&user=U](sourcetree://cloneRepo?type=stash&baseWebUrl=http%3A%2F%2Fstash.ginper.local%3A7990&cloneUrl=http%3A%2F%2Fmiba%25C3%25B1ez%40stash.ginper.local%3A7990%2Fscm%2Fba%2Fbax00-repo.git&user=miba%C3%B1ez)SER

Is there any way to add a working copy?

I'm trying to script the process of making a checkout and then programatically adding the repository to SourceTree.

Thanks!


Answers:
author: James Holmes
body: I'd like to pass a suggested destination path when using sourcetree://cloneRepo? link to make it easier for new users.

Does any one know where there is any documentation on this sourcetree:// url?
sourcetree license
Asked by jnolden:

I have downloaded SourceTree a while back from your website. The website says it's free, but now I get a message saying that the trial period has ended. I have registered with Atlasssian, but I cannot find anyway to retrieve a license of any kind for SourceTree.

Please advise on how to proceed.

Kind regards,

Jeroen Nolden


Answers:
author: izharaazmi
body: Its indeed free, but you need to register. Don't worry!

Just visit <https://my.atlassian.com/license/sourcetree> and login with your registered credentials.

And enter the name by which you would like the License, usually your Company name, or you own name. Done!

screenshot-my.atlassian.com 2015-04-20 13-19-02.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/sourcetree-license/qaq-p/45838?attachment-id=12813){#link_116a66403d2e55}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/1334/1/screenshot-my.atlassian.com%202015-04-20%2013-19-02.png){#display_116a66403d2e55_0}


author: jnolden
body: Dear Izhar,

Thanks for the link. I did not manage to find the option to 'purchase' the license for SourceTree within [my.atlassion.com](http://my.atlassion.com) manually, but your link worked beautifully.

Cheers/Jeroen

comments: author: izharaazmi
body: Glad I could help. As a note, your link is misspelled.
Unable to clone repo from Bitbucket
Asked by BradleySmith93:

Each time I attempt clone my repo from bitbucket it throws up this error attached below.

image2015-4-20 0:13:36.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/Unable-to-clone-repo-from-Bitbucket/qaq-p/112552?attachment-id=1447){#link_116a664fc2c96f}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/3299/1/image2015-4-20%200%3A12%3A5.png){#display_116a664fc2c96f_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/Unable-to-clone-repo-from-Bitbucket/qaq-p/112552?attachment-id=1448){#link_116a664fc2c96f_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/3299/2/image2015-4-20%200%3A13%3A36.png){#display_116a664fc2c96f_2}


Answers:
author: Bal?zs Szakm?ry
body: This looks like a network issue. Is the repo you are trying to clone big? Your internet connection reliable? Can you clone repos from other places, e.g. GitHub?