youngmon/atlassian-qna huggingface dataset:
unrecognized argument: --invert-grep
Asked by Mustafa ahmed:

I am trying to run this git command on my pipeline:  

export GIT_RELEASE_NOTES="$(git log -n 5 --pretty=format:"- %s" --grep=booooooo --invert-grep )"  

and I get this error:  
fatal: unrecognized argument: --invert-grep  

please note that I have run the same command on my terminal and works fine,  
and if I removed "--invert-grep" from the script it works also.  

what I am missing here?


Answers:
author: Mustafa ahmed
body: It seems like the problem is in the git version, how can I update git version on pipeline?

comments: author: Mustafa ahmed
body: by using atlassian/default-image:4


Tags: bitbucket-cloud

cloud
Deletion of code
Asked by Landrew Woolworth:

Hello,

We are looking to move off of Bitbucket and had some questions concerning deletion of the code from Bitbuckets and its backups. We want to make sure that there is no copies left anywhere once we move it off.

1. Does Bitbucket retain any of our code after we delete the code and account?

2. In this document: <https://confluence.atlassian.com/bbkb/does-bitbucket-backup-my-repositories-1168845079.html>. It states that Bitbucket backs up to an AWS Vendor, who is this vendor and will they also delete the code when we delete Bitbucket?

3. When we delete the Environment, does it Delete ALL Code and ALL backups?

Thanks!


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

I'm sorry that you feel the need to downgrade to another git management tool, but TLDR, yes, your code, in your repositories will be kept.

For a while. Not forever.

There's a whole string of rules and date gates here, but the shortest story is:

* You unsubscribe or stop paying for the service. You get an "end date" after which you will not be able to access the service.
* From the end date, none of it is available to anyone other than Atlassian. (And it is encrypted, so all they can do is restore it from a backup if asked, no-one can read, let alone write to it)
* After 30-40 days, they shut down (archive) your site.
* 122-133 days later, it will drop out of Atlassian's backup cycles.

At that point, there's nothing left.

comments: author: Landrew Woolworth
body: Thanks for the response!

I see in point 3 that you said that it will "(archive)" the code. Is this archive also deleted after the 122-133 days?

Thanks,


author: Nic Brough -Adaptavist-
body: Yes, the archive disappears eventually.


author: Landrew Woolworth
body: within that 122-133 days? or sooner?

Thanks,


author: Nic Brough -Adaptavist-
body: Yes, within it (sometimes it may be a bit over 133)

I made a mistake earlier - once you deactivate your site, it will be deleted in 2 weeks, not 30-40 days. At that point, your system is shut down, and the only people who have access to it are Atlassian backup engineers (and even then, not in a directly usable form - the backups are only suitable for restoring a broken a deleting system)


author: Landrew Woolworth
body: Thanks for all the great replies :) One final question, is there a way to peed up the final deletion, or do we just need to wait out the time frames?

Thanks,


author: Nic Brough -Adaptavist-
body: You could raise a support request, ask if Atlassian would kill it off sooner (or just stop backing it up after the first couple of weeks)


Tags: bitbucket-cloud

cloud
I am getting invalid refresh token for one specific user. For other users, it's working fine. Why?
Asked by Nitesh Chandel:

I have many users with using our OAuth consumer, but for one specific user I am getting Invalid refresh_token, but there was nothing different about the way we have done it for that user. Please let me know what can be the possible reason?


Answers:
author: Patrik S
body: Hello [@Nitesh Chandel](/t5/user/viewprofilepage/user-id/5139004) ,

Welcome to Atlassian Community!

The refresh_token doesn't really have an expiration. The only way a refresh_token would become invalid is if the scope of the OAuth Consumer was edited, or if the OAuth consumer was deleted.

If the OAuth consumer was edited a new refresh token will be generated, and the previous refresh token as well as any previous access token will be revoked and cannot be used anymore.

With that in mind, I would like to ask the following :

* Is the user with the failing request using the exact same refresh token as the user that got a successful request?
* Was there any change in the OAuth Consumer during this time that might have caused the refresh token to change?
* What is the exact command/API call the user is using to get a new access token using the refresh token?

Thank you, [@Nitesh Chandel](/t5/user/viewprofilepage/user-id/5139004) !

Patrik S


Tags: bitbucket-cloud

cloud
Not able to delete branch with pattern dev/**
Asked by SMV-Tech:

We had a branch with the name \`dev\` then after deleting it, we created two branches as \`dev/static\` and \`dev/test\` but now we not able to delete it. Getting following error in API.

\`{"type": "error", "error": {"message": "Something went wrong", "id": "3cf9ac288e12431d88d7fe6c695ca1d1"}}\`

![Screenshot 2023-02-04 at 10.02.37 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/238272i7C64B4962DB6A6C9/image-size/large?v=v2&px=999 "Screenshot 2023-02-04 at 10.02.37 PM.png")


Answers:
author: Patrik S
body: Hello [@SMV-Tech](/t5/user/viewprofilepage/user-id/5137558) ,

Welcome to Atlassian Community!

I tried to reproduce the same error but the deletion was successful. In this case, I suggest trying again to confirm if it consistently fails. It's safe to try deleting a branch multiple times. Also, you can try deleting the branches individually, rather than in bulk, and check if the same issue occurs.

Let me know in case you have any questions.

Thank you, [@SMV-Tech](/t5/user/viewprofilepage/user-id/5137558) !

Patrik S

comments: author: SMV-Tech
body: Hi [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) ,

Thanks for the reply.

I tried deleting branch individually stills getting the issue. Attaching the screenshot for reference.

![Screenshot 2023-02-09 at 4.41.43 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/239227iB33BF3B7DB6AC0D7/image-size/large?v=v2&px=999 "Screenshot 2023-02-09 at 4.41.43 PM.png")


author: Patrik S
body: Hello [@SMV-Tech](/t5/user/viewprofilepage/user-id/5137558) ,

Thank you for sharing the result! To continue the investigation I've opened an internal ticket with the e-mail of your community account. You should be receiving the ticket notification in your e-mail soon. However, in case you don't receive it, let me know so I can share the ticket number here.

Thank you, [@SMV-Tech](/t5/user/viewprofilepage/user-id/5137558) !

Patrik S


Tags: bitbucket-cloud

cloud
someone has already added that key as an access key to a repository.
Asked by iam_numlock:

I cannot add my SSH key to my account because of this: "Someone has already added that key as an access key to a repository."

I have checked all the places (company user, all the repositories I see etc.) but this key is not associated to none of the repositories nor users I know of.

I have tried to SSH bitbucket.org, but is does not say any details:

$ ssh -T git@bitbucket.org  
authenticated via ssh key.

You can use git to connect to Bitbucket. Shell access is disabled


Answers:
author: Nic Brough -Adaptavist-
body: There's no easy way to work this out because the keys that belong to other accounts should not be shared.

If you shared the key with someone or used it with a different account, you should already know who it is. If someone gave you the key, you will need to ask them.

If you have no luck chasing it down, you can raise a support request with Atlassian, and they can search out the key for you and identify the account you shared it with.

If you don't want to spend ages chasing down the share, you can (and should) create a new key for your account and use that instead.

For a better explanation, see Theodora's answer on [![](https://community.atlassian.com/html/@D429FEBDA9386F85E874453DCFFCC546/assets/favicon-16x16.png)Problem adding SSH key: "Someone has already added that key as an access key to a repository."](https://community.atlassian.com/t5/Bitbucket-questions/Problem-adding-SSH-key-quot-Someone-has-already-added-that-key/qaq-p/2166987)


Tags: bitbucket-cloud

cloud
Account does not receieve transfer requests emails
Asked by Demellion Dismal:

Greetings,

Account assosiated with this namespace cannot receieve any trasnfer ownership emails. Transfers are done directly to namespace and no mistakes could be made.

Can it be due to origin of the email? If so, I'm currently in a process of deleting of empty account that has taken my second email and cannot occupy it.

Can this be solved?


Answers:
author: Demellion Dismal
body: It seems this type of emails are firewalled since I did receive every other promotional email just right now, including badges acquistion right now.

comments: author: Patrik S
body: Hello [@Demellion Dismal](/t5/user/viewprofilepage/user-id/5138413) ,

Welcome to Atlassian Community!

I checked internally and see the e-mail address you used to create this question is **not** on any of our suppression lists. I also see that recent e-mails were all delivered successfully to that mailbox.

In this case, I would recommend checking if the e-mail didn't end up in the Spam folder. Also, it's important to note that the transfer ownership e-mail will be sent only to the admin of the workspace. For shared workspace, all the members of groups with Administrator access will receive the e-mail. For personal workspaces, only the workspace owner will receive the e-mail (see [Difference between shared and personal workspaces](https://confluence.atlassian.com/bbkb/difference-between-shared-and-personal-workspaces-1141477191.html) )

Thank you, [@Demellion Dismal](/t5/user/viewprofilepage/user-id/5138413) !

Patrik S


author: Demellion Dismal
body: Greetings,

I am the admin of every workspace, solely, which is marked in the question tags. I removed any idle members, and I get every email from you, including the one for the answer right now but not for transfer of ownership.

I will issue another bunch of ownership transfer request to check out and leave them there hanging forever.


author: Demellion Dismal
body: Nevermind they started rolling in all of the sudden.

No idea why.


Tags: bitbucket-cloud

bug

cloud
How To Generate Token To Connect for abapGit ?
Asked by SUGGU SANDEEP:

![Screenshot 2023-02-04 171945.jpg](/t5/image/serverpage/image-id/238267i153AFAD835CDB956/image-size/large?v=v2&px=999 "Screenshot 2023-02-04 171945.jpg")


Answers:
author: Nic Brough -Adaptavist-
body: See <https://community.atlassian.com/t5/Bitbucket-questions/Personal-Access-Token-for-Bitbucket-Cloud/qaq-p/677663>

comments: author: SUGGU SANDEEP
body: Hi [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) UI is different,  

can you help me with the screenshot where I can do that?   

Thank You,  
Suggu Sandeep.


author: Nic Brough -Adaptavist-
body: Screenshot of what? Have you read the docs referred to in that thread?


author: SUGGU SANDEEP
body: Yes [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454)   

I generated token \& used it in the above screenshot.  
But it's not getting accepted.  
![Screenshot 2023-02-14 162019.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/240026i18E74BA1F41D7756/image-size/large?v=v2&px=999 "Screenshot 2023-02-14 162019.jpg")


author: Nic Brough -Adaptavist-
body: It looks like you have not tried to use it yet.


Tags: bitbucket-cloud

cloud
Search repository by name doesn't work in the top left search box
Asked by Jingzhe Yu:

Search repository by name doesn't work in the top left search box, the url is:

<https://bitbucket.org/dashboard/repositories>

After give the repository name, the wanted repository is not filtered.

It was working a couple of days ago.

The top right box is OK.


Answers:
author: Syahrul
body: Hey everyone,

We found out that there was a bug recently which caused the search function in the main dashboard to stop working.

We've since fixed the issue, so please let me know if the search is still not working on your end.

Cheers,  
Syahrul

comments: author: Jingzhe Yu
body: yes, problem solved.

Thanks!


author: ay.berez
body: same problem. how to move box to the right?


Tags: bitbucket-cloud

cloud
GIT push, Pull and Commit related issue
Asked by Ziyaur:

**I am getting error while pulling the changes from Server/Bitbucket:**

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin

git -c diff.mnemonicprefix=false -c core.quotepath=false pull origin master  
From <https://bitbucket.org/AST_Automation_Team/move-oracle-cloud-erp-r13>  
\* branch master -\> FETCH_HEAD

**++*error*++** : Your local changes to the following files would be overwritten by merge:  
src/test/resources/TestArtifacts/Test Automation Common Navigation Actions.xlsx  
src/test/resources/TestArtifacts/Test_Data_Files/TestData_CreateNonCatalogRequisition.xlsx  
src/test/resources/TestArtifacts/Test_Data_Files/TestData_LoginLogout.xlsx  
test-output/Parallel test suite/Chrome Test.html  
test-output/Parallel test suite/Chrome Test.xml  
test-output/emailable-report.html  
test-output/index.html  
test-output/junitreports/TEST-RunManager.HybridExecuteTest.xml  
test-output/old/Parallel test suite/methods-alphabetical.html  
test-output/old/Parallel test suite/methods.html  
test-output/testng-results.xml  
Please commit your changes or stash them before you merge.  
Aborting

**I am getting error while pushing the changes to Server/Bitbucket:**

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v origin master:master  
Pushing to https://Ziyaur@bitbucket.org/AST_Automation_Team/move-oracle-cloud-erp-r13.git  
To <https://bitbucket.org/AST_Automation_Team/move-oracle-cloud-erp-r13.git>  
! \[rejected\] master -\> master (non-fast-forward)  
++***error***++ : failed to push some refs to 'https://Ziyaur@bitbucket.org/AST_Automation_Team/move-oracle-cloud-erp-r13.git'  
hint: Updates were rejected because the tip of your current branch is behind  
hint: its remote counterpart. Integrate the remote changes (e.g.  
hint: 'git pull ...') before pushing again.  
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

Regards,

Ziyaur Rahman


Answers:
author: Mike Corsaro
body: Hello! You're seeing this issue because you have changes in your code that conflict with the changes someone else made. You'll have to resolve those conflicts before you can push your changes. You can find more info about how to do this here: <https://confluence.atlassian.com/bitbucket/resolve-merge-conflicts-704414003.html>
Sourcetree Enterprise MSI - no shortcut in Start Menu after install
Asked by Daniel Saldana:

Hi,

we are in the works in automating the deployment of Sourcetree Enterprise (msi 2.6.9).

Silent install works well but there is no shortcut in the Start Menu after installation.

Installing on Windows 10 x64 with following command

msiexec /i SourcetreeEnterpriseSetup_2.6.9.msi ACCEPTEULA=1 /q

Any parameter to be added to get the shortcut and/or specify user/system install?

Thanks

Daniel


Answers:
author: Mike Corsaro
body: Hello! Currently the enterprise MSI installer does not create a shortcut. Sorry for the inconvenience!

comments: author: Daniel Saldana
body: Thank you Mike,

Any plan to include shortcut properties in a close future?

Having to script Start Menu shortcuts instead of talking directly to the msi is very awkward when using deployment solutions.

Many thanks.

Daniel


author: Harry Caskey
body: [@Mike Corsaro](/t5/user/viewprofilepage/user-id/842547),

Is there any follow-up to this from July? We were hoping that this would have been fixed in the latest version of Sourcetree 3.0.8, but it looks like this is still a bug. We want to deploy Sourcetree using SCCM, but the MSI does not create the shortcuts after being installed.

We can script the installer to do this, but would prefer the MSI to work properly and create these shortcuts.

For reference, our install string is:  
msiexec.exe /i SourcetreeEnterpriseSetup_3.0.8.msi ACCEPTEULA=1 ALLUSERS=2 /qn


author: Mike Corsaro
body: Hello! Sorry for the delay -- we're a very small team and it takes us some time to get around to everything. We'll be adding this feature to the installer for the next major release


author: David Chwalisz
body: We just started rolling out ST 3.1.2 Enterprise after a Group Policy change restricted executables in AppData. Now we are trying to have 50 devs reinstall, and they wont have a Start Menu shortcut.

Its going to take us hours just to fix shortcuts.

Can you open source the installer?


Tags: msi

sourcetree-enterprise
I hate SourceTree product because of its not fixing bugs.
Asked by Dmitry Shalin:

SourceTree does not work with required features:

- update from remote branch brakes everytime

- merge is completely awful - it just does not work!

Please, make this project chargeable for EPAM not to use it!


Answers:
author: Dmitry Shalin
body: First of all, I a talking about GIT repository.

1. First is about merge request to be handled. I Always(!!) face this issue every my merging from main branch. Merge request, that could be done within 10 minutes always (for the last year) takes at least 2 hours. Here is an example video:

<https://www.dropbox.com/s/gy1pagsigltw7w7/SourceTree%20merge%20issue%202018-05-28_1520.swf?dl=0>

2. As for updating from remote branch - I often (but not always) face an issue, when:

- update from remote branch somehow brakes,

- SourceTree leave all garbage that it createed in place

- this garbage is not showing, but proceeding working with repository could even brake it (I had one moment when I just had an orphaned commit with my required changes, and we know, that SourceTree cannot work with them at all)

- SourceTree could show an actual state of the git repository only after it's restart

- only after several restarts (3 - 5 restarts?), while doing the same things again and again, it becomes available to update GIT branch from the remote branch.

As you could see here, for these two simple steps I spend an hours instead of several minutes. This is completely useless.

You could take a look to SmartGit and you would find, that it does not have this issues completely for this really simple and really useful functionality. I work with my home project only using SmartGit.

I've updated everything I could to the latest version - SourceTree, GIT inside SourceTree especially after face with this issue.

And now I would ask - does one need a git tool when you cannot update and merge??

comments: author: Mike Corsaro
body: Hmmm... could you reupload the recording as a mp4 or something that's not Flash? Thanks!


author: Mike Corsaro
body: Hello! Could you tell me more details about the problem you're having?

* How does update from remote branch break? Do you get any error dialogs?
* How does merge break? Sourcetree doesn't handle merges by default (they're created by either Git or Mercurial). If you're having a hard time with them we allow you to configure your own diff tool -- you can use almost any tool you'd like ?

Thanks!
SourceTree 2.6.9 configuration Issue in Windows
Asked by Sudharsan_Narshimha:

Team,

I was able to download sourcetree but seeing issues while Configuring sourcetree..

It shows authorization error when i use Atlassian account .. Please help in fixing this issue


Answers:
author: Mike Corsaro
body: Hello! Could you try some of the workarounds listed in this thread? <https://community.atlassian.com/t5/Sourcetree-questions/Re-Can-t-install-SourceTree-due-to-login-problems/qaq-p/648803/comment-id/17299#M17299>

Thanks!

comments: author: Sudharsan_Narshimha
body: Thanks Mike... I now get below error which i try to configure Atlassian account during Soucetree setup.. I get below error,

Not authorized Error ..

Any pointers please


Tags: sourcetree-enterprise

windows
Is Atlassian listening to user requests? (such as bringing back nested bookmarks)!!!!!!!!!!!!!!!!!!!
Asked by Terry Holmes:

Does Atlassian publish a "coming features" notification?  
Sourcetree has lost some very handy features over time, and by the sound of the forum, we all want some of them back!  
I use Sourcetree for revision control of binary files (large CAD files), and I have dozens of repositories!  
Even though the performance improvements sound fantastic, I won't budge from 1.5.2.0 because I can't cope without nested bookmarks!  


Answers:
author: bgannin
body: Hi Terry,

Yes, we're absolutely listening and take our users' feedback seriously.

As a small team of engineers we're doing our best to balance sustaining and improving Sourcetree while supporting our millions of users. There's not a dedicated "coming features" notification or a published roadmap currently but we are increasing our transparency using Community.

We started a [discussion thread](https://community.atlassian.com/t5/Sourcetree-discussions/dev-team-Proposed-Sidebar-Replacement-for-Windows/m-p/802582#M559) in May which details our proposal about returning functionality many miss from the Windows 1.9.x release series, specifically the tree view (and nested folders by extension I believe.) I'll be updating that shortly with mockups and additional details.

Thank you for letting us know your frustrations; hopefully this assuages your concerns a bit. We'd love it if you join our [public beta program](https://groups.google.com/forum/#!forum/atlassian-sourcetree-beta) and when it ships later this year provide feedback to make sure we deliver the best experience possible.

Brian Ganninger  
Product Manager, Sourcetree

comments: author: Terry Holmes
body: Thanks Brian.  
Can't do beta at work (per risk to configuration management), but I do have a test installation at home. I may join beta for that. Thanks again.


author: Black Hat
body: > As a small team of engineers

[@bgannin](/t5/user/viewprofilepage/user-id/744444), may I ask how small the team is? Your definition of a small team might not align with everyone else's definition of a small team (especially in a company the size of Atlassian) ?

Knowing how big/small the team would help guide our expectations.


author: bgannin
body: I wouldn't factor in Atlassian's size when thinking about Sourcetree - it's a ++free++ product done by a ++single++ team across two OS platforms. This is what should guide expectations, as well as a bit of empathy for fellow developers.

When I say small, think of it the same way you would any team because there's no such thing as a "small" team that's going into double digits (or significant ones) in any size company unless they're poorly structured.
SourceTree Cannot delete stash
Asked by Bo Menick:

I am running SourceTree version 2.4.7.0 on a Windows 10.

I want to delete a stash, very simpel. But the problem is that I can't. When I hit the right mouse button and select the Delete stash button. It does nothing. So I waited a while. Maybe it took some time to remove the stash or something. But nothing happened. So I decided to try it one more time, after that, still nothing happened. Very frustrating, so I restarted SourceTree and after the restart was done, all my stashes were gone.

I am not sure if it is because I hit it multiple times after nothing happened or something else removed it.

Can someone explain to me what happened to my stash and if it is possible to recover my stashes?

Thanks.


Answers:
author: minnsey
body: Hi  

From the terminal you can run   

\>git stash list  

This will list stashes that git is aware of.   

[https://git-scm.com/book/en/v1/Git-Tools-Stashing
W](https://git-scm.com/book/en/v1/Git-Tools-Stashing)e'd also recommend upgrading to Sourcetree 2.6.10


Tags: windows