Authentication failed while using git pull

3.3k Views Asked by At

I am trying to clone Remote repository into Local repository from Google cloud repository. I am working on Kubuntu 14.04 system

First i have create empty local git repository using

git init test

then i have tried with following command

cd test
git pull https://source.developers.google.com/p/{project_id}
Username for 'https://source.developers.google.com': #########
Password for 'https://########@source.developers.google.com': 

But i get following error:

fatal: Authentication failed for https://source.developers.google.com/p/{project_id}/

Username and password are correct i have tried to find solution on SO but it is about GITHUB not Google cloud repository.

Any help will be appreciated.

1

There are 1 best solutions below

4
On BEST ANSWER

use this command to clone

git clone https://source.developers.google.com/p/{project_id}

You can also refer below link for more understanding : https://help.ubuntu.com/lts/serverguide/git.html