Git Push Error

Hello I keep getting an error when attempting to push to git.
I do not see a way to verify the password and reset it.

Looks like I found the error. I typically run things as user rather than administrator. Is there any way this can be ran as a user?

Hey, I keep getting the same error as you and unable to continue with the course, it is the same error which I was hoping to fix while taking the course :confused:

did you manged to fix’s this error?

My solution was logging into the admin account to do this. It is possible the admin account could set a group based permission and placed a standard user in that to allow permission to do so.

When I pressed Push I got a Pop up Credential Manager - this I think was for SSH which you do not select as part of the course.

I then got the above Push Authentication failed error as well.

To get rid of the pop up do the following

From Powershell, navigate to

%localappdata%\Atlassian\SourceTree\git_local\bin

#run

./git.exe config --edit --system

#opens config in VI editor

#update [credential] helper

[credential]
helper = manager

Esc

:wq

To Stop the Authentication failure follow this

In Source Tree

Tools > Options > Git > Press Update Embedded Git

Then

Close Sourcetree
Delete AppData\Local\Atlassian\SourceTree\passwd 
Restart SourceTree


This worked for me.
1 Like

Hey dude

i try that and it didnt work for me, have i miss something?

Hey
Ok from there just go step by step…

cd appdata [return]
cd local [return]
etc till you get to the right directory

hey man thanks for the respond, I have done what you said above but now I got this error when push to git, do you know why this keep happening?

Hi,
Ok I never got that message i am afraid.

If it was me I would uninstall SourceTree
Delete Atalassian Folders from both AppData Local and Roaming Directories
Reinstall SourceTree
Go to Options > Authentication Tab
Delete all accounts and saved Passwords there

Go through the PRIRP process again as Ben does in the video, But Choose the Generic Account even if it shows you your github account one as a choice.

Good luck :slight_smile:

I was constantly uninstalling and reinstalling as well.

I had the same error. I deleted the passwd file at AppData\Local\Atlassian\SourceTree\passwd as well as cleared saved credentials in Sourcetree under Tools -> Options -> Authentication.
After this, restart Sourcetree and try to push again. If you get asked for a Credential Manager, choose wincred.
That fixed the issue for me.
image

4 Likes

thanks this worked for me

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms