youngmon/atlassian-qna huggingface dataset:
Unable to finish gitflow feature- Permission denied issue
Asked by harsukhpreet kaur:

Hi, I am unable to finish gitflow release . I am facing permission denied issues on some war file.


Answers:
author: Manju
body: Can you please confirm what version of Sourcetree you are using and on what OS? Please include the git version being used as well.

comments: author: harsukhpreet kaur
body: I am using sourcetree version 2.6.9 on windiws7

git version 2.15.1.windows.2


author: Mickey Chan
body: Hi, I have the same problem on my Sourcetree. I cannot finish the feature. The repository was switch to Git Flow a few days before.

I am using Sourcetree 2.7.6(177) on macOS High Sierra 10.13.5 (17F77), with Embedded Git 2.17.1

The Git I installed using Homebrew is version 2.18.0  

The error message is:
> git feature finish -k sales_summary
>
> Permission denied, please try again.
>
> Permission denied, please try again.
>
> mickey9801@nas03.comicparty.com: Permission denied (publickey,password).
>
> fatal: Could not read from remote repository.
>
> Please make sure you have the correct access rights
>
> and the repository exists.
>
> Fatal: Could not fetch feature/sales_summary from origin.

I can commit and push with no problem, but cannot finish the feature.

comments: author: Mickey Chan
body: I just install Git Flow AVH Edition by homebrew and I can finish the feature in terminal successfully, but I have to push the commit to remote manually.


author: Mike Corsaro
body: Hello! Can you provide the full error message that's shown? Thanks!
SourceTree is repeatedly asking for Bitbucket credentials
Asked by alondono:

I am using SourceTree v2.6.9.0 on Windows 10. My repositories are in Bitbucket, and my Bitbucket account has 2-step verification.  
For several days, maybe about a month, SourceTree has started showing a dialog asking me for my Bitbucket login, about every 20 minutes or so.

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

This is the dialog that I get. The difference is that it has the username pre-filled.

<br />

It doesn't matter if I enter my credentials, or simply close the dialog without doing anything, the dialog keeps popping up several times a day. And also, I can keep pushing and pulling without issues, even if I just simply ignored the dialog and closed it.  
Other people in my office, with the same version of SourceTree, and accessing the same repositories in the same way, don't get these. The one difference between them and me is that I have been using SourceTree for about a year, or more, while everyone else started using it, on my recommendation, in the last couple of days. This has made me think that a fresh install would solve my issue, but I am not convinced. There should be a better solution.

I've tried solutions like this one <https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-continuously-prompting-for-colleague-s-BitBucket/qaq-p/601906>  
without complete success. After following the instructions on that answer, I don't get the login dialog every 20 minutes, but now every 2 hours and 40 minutes (yes, I write the time every time I get the popup).

I am not sure what else to do, apart from uninstalling, and re-installing SourceTree.


Answers:
author: alondono
body: At the end I decided to uninstall Sourcetree completely, and re-install it.

Now I don't get the popups.


author: Mike Corsaro
body: Hello! Could you try removing all the accounts in the accounts page, restart Sourcetree, and then try and re-add them? It sounds like an old access token is being held somewhere.

comments: author: alondono
body: Hi Mike. Thank you for your reply. I have tried what you suggested. I have gone to Tools \> Options, and on the Authentication tab I have deleted all accounts as well as all saved passwords. That page was left empty. I then restarted SourceTree, went back to that page and added my Bitbucket account, selecting SSH protocol and OAuth authentication. But again, I am getting prompted for credentials every 2 hours and 40 minutes.

Then I tried again, deleting all accounts, restarting SourceTree, but this time not adding a Bitbucket account. Still same effect. After a while it started asking for my Bitbucket account credentials.


author: Thai Truong
body: I am having the same issue. Please help!!!


Tags: windows
Junos Pulse blocks SourceTree
Asked by niaomingjian:

Hi,

I'm using SourceTree to access my bitbucket repository. It works well while using local network. When accessing JNJ managed network via Junos Pulse, it seems that Junos Pluse blocks SourceTree and Sourcetree responses hardly. Occasionally, Sourcetree responses fluently. I want to know how to configure Sourcetree to make it work well.

Besides, I could access my bitbucket repository via browser. So I think the VPN connection is not slow.

Thanks.


Answers:
author: Ana Retamal
body: Hi Young, Sourcetree uses HTTP/S to talk to REST resources on Host servers and SSH/HTTP/S to talk via Git/Hg, so if they are all open it should be ok, can you confirm they're open?

Let us know!

Ana

comments: author: niaomingjian
body: Hi Ana,

Thanks for your answer.

I mean if I don't use VPN, it works well. If I use VPN, it works hardly. If those settings you mentioned aren't open, it could work well without VPN? I'm not sure whether they're open or not. Should I open them manully? How to operate to open them after installing SourceTree?

Thanks,

Young


Tags: vpn
Issues connecting Github and SourceTree - cannot click on "Authorize Atlassian" button
Asked by Heather Kohner (Gregoire):

Our team is using GitHub for design files. I'm helping a coworker get set up and we cannot get the option to "Authorize Atlassian" to show up as a green, clickable button when trying to link the accounts. Does anyone know what needs to be changed or how to troubleshoot this?

![authorize_issue1.png](/t5/image/serverpage/image-id/26003i6E458C9E35B3A4D0/image-size/large?v=v2&px=999 "authorize_issue1.png")![authorize_issue2.png](/t5/image/serverpage/image-id/26004i09EB64A45B0DD38A/image-size/large?v=v2&px=999 "authorize_issue2.png")


Answers:
author: Darin Gurney
body: Hello, I'm new to this, but have what looks to be the same exact problem. The button is disabled. Others in the office here have been able to do this, but non of us can figure out why it does not work for me? I'm using Mac ElCapitan to connect to Github

comments: author: Manju
body: Hi there,

Can you check if you've authorized Sourcetree in GitHub in the past and revoke the access? Alternately, restarting the Mac has sometimes helped a few users with this (but I have no clue why it made a difference).


author: Darin Gurney
body: Reinstalling Sourcetree fixed the problem. Thanks!


author: Manju
body: If this user has already authorized Sourcetree once, can you please revoke the grant in GitHub and try again?

comments: author: yclow
body: I am also running into the same issue, I tried your solution but it does not work, the button is still disabled


Tags: authentication

github

oauth
cannot lock ref 'HEAD': Unable to create 'HEAD.lock': File exists
Asked by Fabian Bzdak:

Hi,

I have a problem with all my repos in Sourcetree.

When I try to push something for the first time it works. After that the file: HEAD.lock remains inside the folder and Sourcetree wont delete it. From now on I can not push neither do anything else. I will always get the following error:

"remote: error: cannot lock ref 'HEAD': Unable to create '.../HEAD.lock': File exists."

I manually have to delete the "HEAD.lock" file to solve this problem and push 1 more time.

Any suggestions?


Answers:
author: minnsey
body: Hi  

I think this is a Git issue rather than Sourcetree directly, though I might be proven wrong.  

Do you get the same behaviour if yo use the got command line?

comments: author: Fabian Bzdak
body: You are right I get the same error if I use the command line:

warning: unable to unlink 'W:/TestRepo.git/./HEAD.lock': Invalid argument


author: Fabian Bzdak
body: The problem was my git version. I downgraded git and now everything is working like before.
SourceTree not starting - White Box
Asked by Keith Linfoot:

Since the last major Windows 10 update, my SourceTree fails to load. I just get a long rectangular white box appearing with nothing in it. It's obviously still got all the controls on it, since if I click in places I get the context menus up etc, and I can click the top right corner to close the window down.

I've tried uninstalling SourceTree completely and reinstalling, but still does the same. I've now rolled Windows 10 back to before the update and SourceTree works fine.

Any ideas on a solution for this? TIA


Answers:
author: minnsey
body: HI  

We've not seen that, but thanks for reporting it.  

Can you confirm the actual Windows version numbers are that work and don't work?  

Thanks

comments: author: Keith Linfoot
body: Hi Michael

This is the version of Windows 10 I rolled back to:

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

In which SourceTree works. I'm just in the process of doing the Windows updates to get back to the state where it doesn't work and will post up the build version once that's done.

Here's a note of the updates it's currently installing for Windows:

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


author: Keith Linfoot
body: Okay, well that's my laptop back up to date with Windows 10 updates and SourceTree is working fine this time. So possibly another update was pushed between rolling back and re-applying the updates fixed the issue, or just rolling back and re-applying updates fixed a bad update install. Anyway, I'm happy now that SourceTree is working again :_)

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


author: andydent
body: Same here with Windows 10 Pro Build 18.0.3 on a Surface Pro (5)

Just tried removing (via Programs control panel) and running latest SourceTree installer 2.6.10 and the **Installer** does the same thing


author: minnsey
body: Thanks for the additional information. <https://docs.microsoft.com/en-us/windows/whats-new/whats-new-windows-10-version-1803> We will review.
How to switch account on Sourcetree
Asked by riturajshukla:

I need to switch to my account on Sourcetree as I need to continue my work on a project and I need my branches on Sourcetree. There's already an account logged in. How can I do the switch? Please help ASAP.


Answers:
author: minnsey
body: Hi  

If you are talking about a Bitbucket or GitHUb account then Sourcetree supports adding multiple accounts for those services.  

In Sourcetree for Windows these can be added via the Tools/Options?Authentication tab or in the New Tab/Remote panel


Tags: windows
Does sourcetree require Java to be installed?
Asked by Fabien H:

Hi,

I am receiving this error when I try to perform a "push", can someone provide some help on how I could fix this please?

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master  
Pushing to C:\\dev\\test.git  
remote: hooks/pre-receive: line 116: /C/Program Files/Java/jre6/bin/java.exe: No such file or directory   
To C:\\dev\\test.git  
! \[remote rejected\] master -\> master (pre-receive hook declined)  
error: failed to push some refs to 'C:\\dev\\test.git'


Answers:
author: minnsey
body: Hi   

No Sourcetree doesn't require Java, looking at the error *pre-receive hook declined* it looks like you might have a pre-receve hook defined and the code to process that hook requires java.  

see <https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks>

comments: author: Fabien H
body: Thanks.

I forgot the repository in question used to be linked to a subversion server I had originally.

Thanks to your message I investigated the repo and de-activated the subgit pre and post hooks.

The push has now worked successfully.


author: Rowan.Gontier
body: In my case, the solution was to add this code in the pre-commit hook script (even with my java home path already set in zhsrc, which is not picked up it seems):  

```
export JAVA_HOME="/opt/homebrew/Cellar/openjdk@17/17.0.9"
export PATH="$JAVA_HOME/bin:/opt/homebrew/bin:$PATH"
```
Silent installation of SourceTree 2.4.8.0
Asked by Sujay Gowda:

Hi,

We want to achieve complete silent installation of SourceTree 2.4.8.0.  
Since this tool is portable, we are copying application files to "C:\\Program Files(x86)\\Atlassian\\SourceTree" and supporting files to "C:\\Users\\\<current_user\>\\AppData\\Local\\Atlassian\\SourceTree"

After installation of SourceTree 2.4.8.0, we get first time setup screens, such as license agreement, registration, use of SSH keys and finally use of Mercurial are shown.  
Is there any way to avoid those screens using pre-defined configuration/parameters?

Regards, Darshan


Answers:
author: minnsey
body: Hi  

We now provide an MSI for *enterprise* installs, it has a couple of minor differences to the standard install, for example it assumes you will already have installed Git and/or Mercurial, but it might meet your needs better.  

<https://www.sourcetreeapp.com/enterprise>
I am not able to install source tree
Asked by Anamika Kumari:

while installing source tree, its showing attached screen. but I dont have bitbucket account or atlassian account![Capture.PNG](/t5/image/serverpage/image-id/25868i68BD4B018C17CC90/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Manju
body: You should be able to sign up for a new Atlassian Account with this link - <https://id.atlassian.com/signup>

Once you have an account, you can use the credentials to login.

We will update this page in the next iteration to include a sign up link.

Thanks for the patience and understanding!
Something went wrong when trying to validate your credentials
Asked by reis:

Hello, I have a problem with Sourcetree Enterprise registration with Atlassian Account "Something went wrong when trying to validate your credentials".

Sourcetree Enterprise 2.6.9

IE 11.0.9600.19035

Log in and registration with Google account works fine!?

What is the difference to login and registration at Atlassian account and the Google account?

The Google log in was just a trial and will not be used in practice.


Answers:
author: minnsey
body: Hi  

Sourcetree uses a WPF control to render the webview you are seeing, this in turn relies on Internet Explorer and its settings.  

If you can login to [https://id.atlassian.com](https://id.atlassian.com/) from Internet Explorer successfully the registration stage in Sourcetree should work,  

You might need to check your IE settings as follows:  

1. open Internet Explorer
2. open the Developer tools, f12
   1. set the Browser Mode 10
   2. set the Document Mode Standards
3. open Cog/Internet options
   1. ensure the following settings are enabled
   2. Misc/Access data sources across domains
   3. Misc/Allow META_REFRESH
   4. Scripting/Active Scripting

comments: author: reis
body: The login with the IE works perfectly.

Registration with a Google Account also works perfectly. Regsitration with the Atlassian account does not work.

Are there any other helpful hints?


author: minnsey
body: Not a huge help I'm afraid, but we have a new release in the works that allows you to register via Bitbucket using your default browser, I'd suggest waiting for that.


author: reis
body: Thanks for the answer.

The normal version of Sourcetree can be installed and registered, only with the Sourcetree Enterprise 2.6.9 version the registration with the Atlassian account does not work.

When should the new version come about? We would like to use Sourcetree Enterprise in our company, but preferably with an Atlassian account or GitLab account. Is there anything in the pipeline regarding cooperation with GitLab?


author: minnsey
body: The next release is currently in Beta  
<https://blog.sourcetreeapp.com/2016/03/25/sourcetree-beta-program-is-here-become-a-trusted-tester/>


Tags: registration

sourcetree-enterprise
I wish Source Treee had Rebase button.
Asked by Yuen:

When initiating Rebase operation, I need to open "Action" menu at the top of the windows and choose "Continue Rebase" and "Add" or "Stage All" back and forth. I wish Source Tree had a bottun "Continue Rebase " and "Abort Rebase" on the icon bar same as "Merge" or "Tag". It would be much easier. Rebase is one of popular function on Git so that would worth it.

Additionally, I wish Source Tree showed some message when starting Rebase as terminal version of Git tells us like "(master\|REBASE 2/2)", so that you can easily know you are in the middle of Rebase and how many times you need to rebase continue then.

Thanks.


Answers:
author: Manju
body: Please consider filing a ticket for this request in our [public issue tracker](https://jira.atlassian.com/projects/SRCTREE/issues) for the product management team to consider in an upcoming release.
License download stucks
Asked by Norbert Gundeler:

![Download stucks.png](/t5/image/serverpage/image-id/25806iA18DF847FC93E81E/image-size/large?v=v2&px=999 " Download stucks.png")


Answers:
author: Manju
body: You seem to be using a very old version of Sourcetree which we no longer officially support. Please consider downloading the latest version from <https://sourcetreeapp.com/>

Thanks!

comments: author: Norbert Gundeler
body: Thx, worked


Tags: licence

registration
I am getting error "Could not read from remote repository" while doing clone in SourceTree
Asked by Vikas Sharma:

I am getting error while doing clone.

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false ls-remote ssh://git@code.corp.oncor.com:7999/esb/csb_csesb.git  
Output:  
Error: Could not create directory '/home/vikas/.ssh'.  
Host key verification failed.  
fatal: Could not read from remote repository.  

Please make sure you have the correct access rights  
and the repository exists.

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*


Answers:
author: Manju
body: Can you please specify if this is on windows or macOS and confirm the version of Sourcetree you are using?

comments: author: Vikas Sharma
body: I have Windows7 64bit and SourceTree version 2.4.8.0.
Sourcetree for Windows Enterprise 2.6.9
Asked by David Woosley:

SourceTree installed fine on my Windows10 but not on my Windows7. It gets stuck on the registration. I choose to register through my Atlassian account. It tells me something went wrong while validating my credentials. I can use this machine to access Jira and Bitbucket, using the same credentials entered. Whenever I try to register through Bitbucket, it tells me there is something wrong with my URI. The Windows machine was connected through a WiFi, so I tried restarting the machine, and have changed my Ethernet connection to a CAT5 cable. I also downloaded SourceTree 1.10. It failed when a license key was supposed to be sent to me. (I only tried this once.) Any ideas why 2.6.9 will not access my Atlassian account?


Answers:
author: Mike Corsaro
body: Hello! This is probably an issue with the webview we use for authentication. [Here's a link that might help.](https://community.atlassian.com/t5/Sourcetree-questions/Re-Getting-this-error-quot-Something-went-wrong-while-attemp/qaq-p/805324/comment-id/22130#M22130)
Black box obscuring everything during install
Asked by Dave Coder:

This happens on Slack and some other program I was installing recently (I don't remember which one), but I think it's just on Electron apps on Windows, and during install, a black box pops up on the screen and obscures every window, including SourceTree's install window which I can't read, until I just click "go to desktop" then open each other window up...

I need a solution for this. The box itself in the taskbar is called Installing... can someone advise?

I've already tried clearing out Slack's folders during uninstall then reinstalled... but this black box issue keeps happening with apparently apps using the same technology.

![install.PNG](/t5/image/serverpage/image-id/25677iAF096072ED44D61A/image-size/large?v=v2&px=999 "install.PNG")


Answers:
author: Dave Coder
body: This problem has gone away since my Windows 10 update.

Hopefully it doesn't come back.


author: Mike Corsaro
body: Hello! So Sourcetree on windows isn't an Electron app. Could you try opening Task Manager and see which exe that window belongs to? You should be able to view the details of that exe and see what path it's running from.

comments: author: Dave Coder
body: OK I found it... it's some SquirrelTemp Update.exe

![Update exe SquirrelTemp.png](https://community.atlassian.com/t5/image/serverpage/image-id/25826iC6510B57F0AEC878/image-size/large?v=v2&px=999 "Update exe SquirrelTemp.png")

![install Windows 7 stuck.png](https://community.atlassian.com/t5/image/serverpage/image-id/25825iFAC83AE464670EDE/image-size/large?v=v2&px=999 "install Windows 7 stuck.png")
How do I insert a hyperlinked site navigation pdf into my Confluence page so the links work?
Asked by kathy.archie:

I created a navigation diagram for users of my confluence site so new users may understand where to go to find what they need. How do I bring that pdf into my Confluence page full size, (not thumbnail) so the page links are still active?


Answers:
author: Samie Kaufman - Your Gal at Gliffy
body: Hi Kathy!

I'm not certain that that is possible. There are diagramming tools available via the Atlassian Marketplace that would allow you to build something similar natively within Confluence. (Required disclosure that I work for a vendor of one of these apps. :) )

Samie

comments: author: kathy.archie
body: Hi Samie,  
Thanks, It's okay if you're a vendor, I just need a solution!   
I have the diagram in Draw.IO within the web app, (on their site) but it's outside of my confluence page. My internal Confluence version only has the basic features of draw.IO and is totally inadequate.  
Do you know if I can bring what I have into my Confluence navigation page?  
If so how?


author: Samie Kaufman - Your Gal at Gliffy
body: Of course! In general, I know that when a user requests functionality like a diagram with clickable links, their two most popular options are draw.io and Gliffy.

I am under the impression that bringing your draw.io diagram into the draw.io app for Confluence---not as a PDF but as the actual diagram file---should allow your hyperlinks to work within that Confluence page. If that's not working for you, I'd direct you to the draw.io support team.

I hope that's a little bit more helpful!


Tags: cloud

confluence-cloud
Bi-directional communication between Confluence & JSM
Asked by Brian Jennings:

Via JSM automation, you can use the "Create page in Confluence" and push JSM information into that new page. Once that page is created, is there a way that whatever someone edits on that page could then be sent back to the ticket that created that page? I see that Confluence has its own automation tool, but not sure if that tool includes an "Update JSM ticket" type function.

Reason being is that I am working thru setting up Change Management in JSM and thought about implementing Confluence to some degree.


Answers:
author: Aron Gombas _Midori_
body: A JSM ticket is just a Jira issue after all. If Confluence Automation allows you updating Jira issues, then it is doable.

An automation rule built from these components can do it!

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

comments: author: Brian Jennings
body: Great thanks for the info. Currently, we don't have Confluence Premium, so I was unable to see any Automation functions. I may try out the trial for 30 days to see how it works.


Tags: cloud

confluence-cloud

jira-service-management

link