youngmon/atlassian-qna huggingface dataset:
How do I delete a project (not just a repository) in Bitbucket Cloud
Asked by Mikel Pascual:

Hi,

I have an empty Project (not a repository). I want to delete it.

When I open the Project there is no Settings button, no cog, no thing.

How can I delete a Project?


Answers:
author: Pramodh M
body: Hi [@Mikel Pascual](/t5/user/viewprofilepage/user-id/5016768)

Projects are managed by Administrators in Workspace.

Here is the detail

<https://support.atlassian.com/bitbucket-cloud/docs/manage-and-edit-existing-projects/>

![Project Dets 1.png](https://community.atlassian.com/t5/image/serverpage/image-id/212882iBB174887865D2A00/image-size/large?v=v2&px=999 "Project Dets 1.png")

![Project Dets 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/212883i17228D43E98FE018/image-size/large?v=v2&px=999 "Project Dets 2.png")

Thanks,  
Pramodh

comments: author: Mikel Pascual
body: I'm an Org admin and I see no such "Project Settings".

How can I check what role I have in the Workspace?

How can I see change my role in the Workspace?

edit: Ok, I needed the Owner to add me to the Administrators group in Bitbucket.

If anybody is looking for it, you have to:

1. go to bitbucket
2. avatar in top-right menu --\> All workspaces
3. manage
4. User groups --\> Administrators
5. Add member


Tags: bitbucket-cloud

cloud

project
I need to ask what should I do whit this error. I already have 15 run pipeline but it's still error.
Asked by Jericho Lucero:

![111.png](https://community.atlassian.com/t5/image/serverpage/image-id/212901i0B43673FB0DD8A2B/image-size/large?v=v2&px=999 "111.png")  
help!


Answers:
author: Thuan_ Do Dang
body: Hi [@Jericho Lucero](/t5/user/viewprofilepage/user-id/5016819) ,

It's python b64decode function error. I found some solution here: [Error incorrect padding in decoding of base 64](https://programmerah.com/solved-error-incorrect-padding-in-decoding-of-base64-module-in-python-34719/)

Base64 in Python is read in 4, so the field to be decoded should be a multiple of 4, not enough to add '=' -\> your key_file is incorrect input of this function

# The field a to be decoded is judged, and if it is a multiple of 4, it is unchanged, and if not, how much is missing, how much is made up: a = a + '=' \* (4 - len(a) % 4) if len(a) % 4 != 0 else a

Hope this helps!


author: sikdermoslem
body: Hi Brother,

I am also newbie here. I would be happy if I could give you the solution. Hope quickly someone will give relief by a solution luccero.


Tags: atl-pipelines

bitbucket-cloud

cloud
Windoes Pipeline access to Artifacts
Asked by lprada:

I create an artififacts with this name "cppArandano/dist/\*\*", I need to copy the content of this to a folder in my windows pipeline runner, what directory is save the artifcats download?


Answers:
author: Theodora Boudale
body: Hi [@lprada](/t5/user/viewprofilepage/user-id/176390),

Artifacts are uploaded to the Atlassian infrastructure even when you use Runners, they are not stored locally.

Could you please clarify what you mean by "I need to copy the content of this to a folder in my windows pipeline runner"?  
Do you want to use this artifact in subsequent builds of the runner?  
Or do you want to copy this somewhere on the computer where the runner is running?

Kind regards,  
Theodora

comments: author: lprada
body: Thanks this helps me a lot.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Delete branches and cache
Asked by ivasquez:

Hi! I have a repository with many branches, for a mistake someone upload a branch with a huge size file, and the repository size now is from 4.16 GB, for this reason, they can't upload any changes to fix this branch, then we tried to delete this branch but the repository size is the same. What can I do?


Answers:
author: Ben
body: G'day!

I have located the repository you have specified and executed a garbage collection on the server side, this has reduced the size from 4.16GB to 3.5GB.

I have noticed that you have another repository which is 4.9GB, would you like me to garbage collect this repository as well?

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
How to get complete hash of commit in dark theme (Mac OS)
Asked by Marc Reitz:

Often I need the complete hash of a commit for external documentation. In the light theme I can mark the hash value inside "detail pane", where Commit, Parents, Author, and so on are listed. After marking the hash I can copy it to the clipboard by pressing CMD + C.

If using the dark theme I can't select anything inside the "detail pane".

How can I get the hash values of a commit (short or long one) inside the dark theme?

Thanks in advance.


Answers:
author: bgannin
body: Hi Marc,

This works the same regardless of theme, it sounds like something else is amiss and the web view is no longer cooperating. That said, you can right-click on any commit in the list and use the "Copy SHA-1 to Clipboard" contextual menu item to accomplish this.

Brian Ganninger  
Senior Mac Developer, SourceTree

comments: author: Marc Reitz
body: Hi Brian,

Thank you for this advice. With this way I can get, what I need.

Marc
Unable to launch Source tree after installation in windows7
Asked by imjayanth:

Hi,

Source tree crashed immediately after launching it.

Below is the error from the log C:\\Users\\jb\\AppData\\Local\\Atlassian\\SourceTree\\**sourcetree.log**

**I have already have git in my PC (having portable version \& also installed).**

After launching, i have tried point to git with portable version and also the insatlled location. **But both failed with the same error below.**

Any idea sbout what is causing the below error ?

ERROR \[2017-08-29 14:31:24,426\] \[1\] \[SourceTree.Analytics.Crash.BugSplat.CrashAnalyticsService\] \[DispatcherUnhandledExceptionHandler\] - DispatcherUnhandledExceptionHandler for \[SourceTree, 2.1.2.5\] called with \[System.Windows.Threading.Dispatcher, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs\]  
**System.ComponentModel.Win32Exception (0x80004005): Access is denied**   
**at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)**   
**at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)**   
**at SourceTree.Security.DefaultSshKeyManager.LaunchSshAgent(Boolean** promptForKeyIfBlank, String keyfile)  
at SourceTree.MainWindow.OnContentRendered(EventArgs e)  
at System.Windows.Window.PostContentRenderedb__4(Object unused)  
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)  
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)


Answers:
author: Mike Corsaro
body: Hello! Could you try running Sourcetree as an Admin? It looks like it's crashing when trying to start the SSH agent.
Permission denied (publickey)
Asked by sanderdijkstra:

Hi guys,

Yesterday I was working on one of my projects in the afternoon. I pushed everything succesfully, when I wanted to continue in the evening I certainly wasn't able to get into the project anymore.

When I'm logged in on Bitbucket I have writing access for all the projects, but I can't write nor download anymore.

When I want to push a commit or load a new rep I get the following errors;

This is not a valid source path/ URL

And also this error log

```
Permission denied (publickey).

fatal: Could not read from remote repository.


Please make sure you have the correct access rights

and the repository exists.

Permission denied (publickey).

fatal: Could not read from remote repository.


Please make sure you have the correct access rights

and the repository exists.

Permission denied (publickey).

fatal: Could not read from remote repository.


Please make sure you have the correct access rights

and the repository exists.

Permission denied (publickey).

fatal: Could not read from remote repository.


Please make sure you have the correct access rights

and the repository exists.

```

Does anybody know how to fix this? I already reinstalled Sourcetree and tried to reset it but it didn't work and to get a new publickey (which didn't work).


Answers:
author: Tim Brandin
body: This might be related to <https://community.atlassian.com/t5/Bitbucket-questions/Could-opt-atlassian-pipelines-agent-data-id-rsa-become-invalid/qaq-p/631206>

comments: author: Gary
body: Hey Tim, Sander,

That issue is very specific to Pipelines, and was caused by an issue on the platform.

Cheers,  
Gary


author: Gary
body: Hi Sander,

Can you run the following from your terminal, and let us know if your SSH key is loaded:  
ssh-add -l

Cheers,  
Gary

comments: author: sanderdijkstra
body: Hi Gary,

The result I got is; The agent has no identities.

So I suppose the SSH Key isn't properly loaded, how can I fix that?

Cheers Sander


author: Gary
body: Hi Sander,

I usually load my key from the terminal using:

ssh-add .ssh/"ssh_key_file"

Cheers,  
Gary


Tags: bitbucket

mac
How in SourceTree to get rid of a window ?Git credential manager for Windows??
Asked by khusamov:

After adding the repository, a window with the heading "git credential manager for windows" constantly pops up. Whatever I do (enter different logins and passwords, cancel), it then appears again. And in more than two copies. How to get rid of it?

I have registered the following settings in the **.hgrc** file, but this does not help.

```
[auth]repo.prefix = http://to.my.reporepo.username = <login>repo.password = <pass>repo.schemes = http
```

![29705609-8571ba22-8987-11e7-9ce0-9558efd48016](/t5/image/serverpage/image-id/5261i9D40B88DFE875EA3/image-size/large?v=v2&px=999 "29705609-8571ba22-8987-11e7-9ce0-9558efd48016")


Answers:
author: khusamov
body: I do not have "GIT, or HG entries" in the control panel.

comments: author: Gary
body: Hi Sukhrob,

It sounds like Windows is not saving your entry, which is why tou would continue to get the credential popup everytime you make a connection.

There are a few different solutions that have been successful listed at <https://community.atlassian.com/t5/SourceTree-questions/Git-Credential-Manager-for-Windows-Popups/qaq-p/579905>.

Cheers,  
Gary


author: khusamov
body: It tries to connect to https://...  
And I have explicitly set http://... in the settings (file **.hgrc** ).  
Is it talking about something?


author: Mike Corsaro
body: In your file you have "http" but it should probably be "https"


author: khusamov
body: My repository is on http. By the https protocol it is not available.


author: Gary
body: Hi Sukhrob,

Can you go to **Control Panel -\> Credential Manager -\> Generic Credentials.** Find any GIT, or HG entries, and remove them. Then re add a repo - you should then again get the pop up window \>\> add the proper creds. Can you confirm if you continue to get the popup after that?

Cheers,  
Gary

comments: author: khusamov
body: There is no such menu item in the SourceTree program. I see such items as: File, Edit, View, Repository, Actions, Tools. Where can I find the "Control Panel"?


author: avluis
body: I'm fairly certain [@Gary](/t5/user/viewprofilepage/user-id/853399)is referring to the **Windows** Control Panel -- if you are on Windows 10, searching for it via the Start Menu will get you there.

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


author: khusamov
body: I do not have "GIT, or HG entries" in the control panel (in the "Generic Credentials").


Tags: windows
I have been granted read access to a bitbucket repository, but I cannot clone it using SourceTree.
Asked by Bob Ensink:

I have been granted read access to a particular bitbucket repository - this has been checked and reconfirmed to be true.

I am now trying to clone that repo using SourceTree.

When I enter the source URL for the repo of interest, SourceTree prompts me for my credentials again and again and eventually fails with an Authentication Error.

I am able to authenticate and clone my own repositories.


Answers:
author: Bob Ensink
body: I found and fixed the issue, I was using the wrong form for the source URL. It should look something like this...

https://myusername@bitbucket.org/otherusername/otherreponame.git

comments: author: Lars Olav Velle
body: Great! Yes, that was one possibility ??


author: Lars Olav Velle
body: It might be something entirely different.

Have a look at the sourcetree log file.

-Lars


Tags: bitbucket
How to install Sourcetree command line on Windows
Asked by Tinus Riyanto:

Does anyone know how I can install Sourcetree command line in a Windows machine ? I am using version 2.1.x and unlike the mac version there is no menu to install the command line tools.

Is this something that is taken out in version 2 or something that has been installed by default ?

I have tried calling sourcetree.exe from windows command prompt but windows is then telling me that sourcetree has stopped working. Calling stree like in Mac gave an unrecognized program error. Therefore I am assumming that Command Line tools is not something that is installed by default.


Answers:
author: Gary
body: Hi TInus,

By default, this is part of GIT, or HG. As long as you have GIT, or HG installed, then you just have to click Actions \>\> Open in terminal, and we will launch either the isntalled GIT terminal, or HG terminal.

Cheers,  
Gary

comments: author: Tinus Riyanto
body: Hi Gary

Thanks for the clarification. However this means that the current implementation for command line is useless for me since I wanted to be able to run sourcetree from a command line window.

In Mac after installng sourcetree command line I am able to open terminal and type in stree -f\<folder path\>. This will invoke SourceTree and automatically prompt me with the Create Repository dialog. My team need to be able to do something similar in their windows workstation.


Tags: windows
Lock ref error keeps defaulting to older version on pull on source Tree. How do I fix this?
Asked by AndrewDravucz:

Whenever I try to pull from any branch on source tree (using windows 10) it brings up the following error below.

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin  
error: cannot lock ref 'refs/tags/"0.5.7"': Unable to create 'C:/.../DCC bitbucket/.git/refs/tags/"0.5.7".lock': Invalid argument  
From <https://bitbucket.org/get-paper/dcc>  
! \[new tag\] "0.5.7" -\> "0.5.7" (unable to update local ref)  
error: cannot lock ref 'refs/tags/"0.5.8"': Unable to create 'C:/.../DCC bitbucket/.git/refs/tags/"0.5.8".lock': Invalid argument  
! \[new tag\] "0.5.8" -\> "0.5.8" (unable to update local ref)

Suspiciously this seems to have happened to me after I updated because I was able to do a pull before and then I did an update and then this happened. I've tried deleting through the console and physically removing those 0.5.7 and 0.5.8 files in the tags folder but everytime I pull it reappears. The branch I'm pulling from should be v1.0.x


Answers:
author: minnsey
body: Hi  

I don't have an answer I'm afraid, but what happens if you run the command from the terminal:

```

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


Tags: bitbucket

windows
How to install Source Tree in a server with Proxy
Asked by gabrielagrisel:

We need to install Source Tree in a server but it seems the application is trying to access the Internet to register with the company. The issue I see is that we use an Internet "PROXY" here at the company and the application does not seem to be Proxy aware.

Could you please advise how to procced?

thank you.


Answers:
author: gabrielagrisel
body: .


author: Nic Brough -Adaptavist-
body: As Sourcetree is a client application intended to be used by people interactively, this sounds like a very odd requirement.

However, it's just using whatever network connection you've got on the machine it is on, so a proxy should be invisible to it, as it's a client.

comments: author: gabrielagrisel
body: Yes, it should be invisible but I got the message:

Error in remote Server:(407) A proxy authentication is needed.

I have this same error in a server with Internet access and in my computer with Internet access too.

Do you have any suggestion?

Thank you.


author: Nic Brough -Adaptavist-
body: You'll need to log into the proxy. Sourcetree as a client application does not need to be aware of the proxy, the operating system should be handling it.

I don't get why you're doing this on a server either.


author: gabrielagrisel
body: ok so, if we don?t have internet access to do this installation, is imposible to do it?


Tags: install
Missing parameters
Asked by Dominique Mayor:

I got the following information while running SourceTree:

2017-08-25 08:03:04 +0000 (e) Parameters required to generate access token are missing. Please report to Atlassian via Get Support in the Help menu.

2017-08-25 08:03:04 +0000 (e) mAuth instance not initialized properly

2017-08-25 08:03:04 +0000 (e) \[AUTH\] Error: Cannot Authorize (Bitbucket)

2017-08-25 08:03:05 +0000 (e) Parameters required to generate access token are missing. Please report to Atlassian via Get Support in the Help menu.

2017-08-25 08:03:05 +0000 (e) mAuth instance not initialized properly

2017-08-25 08:03:05 +0000 (e) \[AUTH\] Error: Cannot Authorize (Bitbucket)

2017-08-25 08:03:05 +0000 (e) Parameters required to generate access token are missing. Please report to Atlassian via Get Support in the Help menu.

2017-08-25 08:03:05 +0000 (e) mAuth instance not initialized properly

2017-08-25 08:03:05 +0000 (e) \[AUTH\] Error: Cannot Authorize (Bitbucket)

2017-08-25 08:03:05 +0000 (e) Parameters required to generate access token are missing. Please report to Atlassian via Get Support in the Help menu.

2017-08-25 08:03:05 +0000 (e) mAuth instance not initialized properly

2017-08-25 08:03:05 +0000 (e) \[AUTH\] Error: Cannot Authorize (Bitbucket)

2017-08-25 08:03:05 +0000 (e) Parameters required to generate access token are missing. Please report to Atlassian via Get Support in the Help menu.

2017-08-25 08:03:05 +0000 (e) mAuth instance not initialized properly

2017-08-25 08:03:05 +0000 (e) \[AUTH\] Error: Cannot Authorize (Bitbucket)

What should i do now?


Answers:
author: Ana Retamal
body: Hi Dominique, can you provide some more information so we can help you fix this issue?

1. Which OS are you using?
2. What SourceTree version do you have?
3. When did that error happen? What operation where you performing?

If you were just trying to install it, can you try a re-install? The steps for a clean re-install are as follows:

* If you're in Windows:
  1. [Wipe SourceTree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html).
  2. Uninstall SourceTree (if it shows on the App\&Features list)
  3. Backup then delete the directory below before proceeding with next step
     * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local and delete *SourceTree* \& *SourceTree-Settings* folder
     * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local\\Atlassian and delete all SourceTree Files/Folder.
  4. [Download SourceTree](https://www.sourcetreeapp.com/download-archives) and install it.
* If you're in Mac:
  1. [Wipe SourceTree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html).
  2. Uninstall SourceTree (if it shows on the App\&Features list)
  3. Delete the directory \~/Library/Application Support/SourceTree
  4. [Download SourceTree](https://www.sourcetreeapp.com/download-archives) and install it.

Let us know!

Regards,

Ana
Source Tree Accent (French) in Filenames
Asked by Pierre BRUNET:

(OS French Windows 10, Source Tree 2.0+)

When browsing local directory (before indexing), filenames and directory names include bad chars for accents :

e.g

m?sons.txt

becomes

m?esons.txt

and all git operations on these files fail !


Answers:
author: Ana Retamal
body: .


author: Ana Retamal
body: Hi Pierre, looks like you might be affected by the bug [SRCTREEWIN-2508](https://jira.atlassian.com/browse/SRCTREEWIN-2508). You can vote for it, add your comment or watch it to receive further notifications.

Additionally, you mentioned that all git operations on those files fail. Can you send us some examples of which specific operations are you attempting and the error messages you're getting?

Do these operations fail if you perform them via the command line?

Best regards,

Ana


Tags: windows
Do you have a solution for using Sourcetree inside a corporation networks without internet access?
Asked by Sergey Monin:

We want to use the SourceTree to work with our Bitbucket server, but during installing of SourceTree it requires a registration, which can not be performed because It must be installed and run on computers inside a corporation network without access to the Internet for users.

Do you have a solution for using Sourcetree inside a corporation networks?


Answers:
author: Mikael Sandberg
body: Unfortunately SourceTree do not support offline install after they changed their Terms and Conditions to align with Atlassian's Customer Agreement. There are a couple of requests to allow this, here is one, <https://jira.atlassian.com/browse/SRCTREEWIN-4666>

comments: author: Sergey Monin
body: Thanks a lot!
Update to 2.1.11.0 / git 2.14.1 failed, can't SSH now
Asked by Andreas Manthey:

SourceTree 2.1.10.0 notified me of an update, so I did.

Not much happening though, no feedback either, still at 2.1.10.0, decide to restart SourceTree.

Now have 2.1.11.0, open release notes.

See that "SRCTREE-2098 Upgraded to Git 2.14.1", check tools / options / git.

See that embedded git is still at 2.10 or smth (why not update automatically?), decide to update embedded git.

Download starts, extracting starts, extracting fails. (see below for error info)

Restart SourceTree, try again, same result.

On restart a message that SourceTree can't login via SSH because some embedded git file is not found (new version, no rollback on fail?).

Extract error info:

<br />

7-Zip \[32\] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21  

Scanning the drive for archives:  
1 file, 35477168 bytes (34 MiB)  

Extracting archive: C:\\Users\\d058150\\AppData\\Local\\Atlassian\\SourceTree\\PortableGit.7z  
WARNING:  
C:\\Users\\d058150\\AppData\\Local\\Atlassian\\SourceTree\\PortableGit.7z  
Can not open the file as \[7z\] archive  
The file is open as \[PE\] archive  

--  
Path = C:\\Users\\d058150\\AppData\\Local\\Atlassian\\SourceTree\\PortableGit.7z  
Open WARNING: Can not open the file as \[7z\] archive  
Type = PE  
Physical Size = 35477168  
CPU = x86  
Characteristics = Executable 32-bit  
Created = 2017-04-06 00:33:08  
Headers Size = 1024  
Checksum = 35481204  
Name = 7zS.sfx.exe  
Image Size = 503808  
Section Alignment = 4096  
File Alignment = 512  
Code Size = 382976  
Initialized Data Size = 106496  
Uninitialized Data Size = 0  
Linker Version = 14.10  
OS Version = 6.0  
Image Version = 0.0  
Subsystem Version = 6.0  
Subsystem = Windows GUI  
DLL Characteristics = Relocated NX-Compatible TerminalServerAware  
Stack Reserve = 1048576  
Stack Commit = 4096  
Heap Reserve = 1048576  
Heap Commit = 4096  
Image Base = 4194304  
Comment = FileVersion: 16.4.0.0  
FileVersion: 16.04  
ProductVersion: 16.4.0.0  
ProductVersion: 16.04  
CompanyName: Igor Pavlov  
FileDescription: 7z Setup SFX  
InternalName: 7zS.sfx  
LegalCopyright: Copyright (c) 1999-2016 Igor Pavlov  
OriginalFilename: 7zS.sfx.exe  
ProductName: 7-Zip  
----  
Path = \[0\]  
Size = 34994208  
Packed Size = 34994208  
Virtual Size = 34994208  
Offset = 477184  
--  
Path = \[0\]  
Type = 7z  
Offset = 515  
Physical Size = 34993693  
Headers Size = 62116  
Method = LZMA:27 BCJ2  
Solid = +  
Blocks = 2  

<br />

Sub items Errors: 6  

Archives with Errors: 1  

Sub items Errors: 6


Answers:
author: Andreas Manthey
body: Now I was going to re-install the whole thing, but the main download link on <https://www.sourcetreeapp.com/> still points to 2.1.10.0...

comments: author: pbuerki3
body: In the meantime, i.e., as of 8/30/2017 it is pointing to 2.1.11.0.