Git - Access denied fatal: Authentication failed for ..

If you receive this error message when tryinf to push / pull / clone, chances are the remote repository is private.


In order to overcome this, use the following command;


$ git clone -b dev https://This email address is being protected from spambots. You need JavaScript enabled to view it./remoteGitAddress/project.git .

In the code above:


-b means clone from the branch named 'dev'

. at the end means extract the folder contents

Rate this blog entry:
Git Push Error - 401 Unauthorized While Accessing....

Comments

 
No comments yet

Latest Comments

Susan Hermiston Virtual Hosts
October 7, 2015
Wow 747 just blew me away. Sorry not a tech person at all!! But I still love you!! Rock on!!?
Johmny Invisible Mouse Cursor Ubuntu & Synergy
September 2, 2015
Glad I was ble to help!
Kristian Falk Invisible Mouse Cursor Ubuntu & Synergy
September 1, 2015
Thank you for this! Had the exact same problem. I almost went crazy.