Authentication failed when using git pull

I am trying to clone a remote repository to a local repository from Google cloud storage. I am working on a Kubuntu 14.04 system

First I create an empty local git repository using

git init test

then I tried to execute the 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 the following error:

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

Usernameand passwordtrue, I tried to find a solution on SO, but it's about GITHUBnot Google cloud repository.

Any help would be appreciated.

+4
source share
1 answer

use this command to clone

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

, : https://help.ubuntu.com/lts/serverguide/git.html

+3

Source: https://habr.com/ru/post/1616476/


All Articles