user2006734
user2006734

Reputation: 325

Can TortoiseGit use a repository of Google Cloud Source repositories?

I tried to log in to Clone a repository from Google Cloud Source repositories. But the following message showed.

Cloning into 'C:\Users\test'...

error: cannot spawn sh: No such file or directory error: cannot spawn sh: No such file or directory fatal: remote error:

Invalid authentication credentials.

Please generate a new identifier: https://source.developers.google.com/new-password

git did not exit cleanly (exit code 128)

The site insits git config --global http.cookiefile "%USERPROFILE%\.gitcookies" somehow , After executing above command, nothing happened. Will It be able to use TortoiseGit on GCP.

Upvotes: 0

Views: 609

Answers (1)

user835611
user835611

Reputation: 2366

You have to clone the Cloud Source Repository using gcloud like so:

gcloud source repos clone [REPO_NAME] [LOCAL_DIRECTORY]

See this article.

Once you have cloned the repository, you can use TortoiseGit on it. Hope this helps!

Upvotes: 1

Related Questions