首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >无法从gcloud克隆存储库

无法从gcloud克隆存储库
EN

Stack Overflow用户
提问于 2016-05-12 17:39:18
回答 3查看 3.4K关注 0票数 1

我需要克隆一个远程存储库。我已经安装了git和gcloud,并且位于PATH中。(我在win10中)

我只是遵循了google first steps指南。在Ubuntu中工作,但我需要它在Win10上。

这是错误消息:

代码语言:javascript
运行
复制
gcloud source repos clone default C:\Users\XXX
git: 'credential-gcloud.sh' is not a git command. See 'git --help'.
Username for 'https://source.developers.google.com': XXXX
Password for 'https://XXXX@source.developers.google.com':
git: 'credential-gcloud.sh' is not a git command. See 'git --help'.
fatal: remote error: Invalid username/password.
You may need to use your OAuth token password; Note that generated google.com passwords are not compatible with private repositories
ERROR: (gcloud.source.repos.clone) Repository in [C:\Users\XXX] is misconfigured.

我已经做了两天的几个谷歌搜索没有解决方案。有人能帮我吗?

代码语言:javascript
运行
复制
C:\Users\jadov\Desktop\Repositorios>git config --list
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
diff.astextplain.textconv=astextplain
rebase.autosquash=true
user.name=XXXXX
user.email=XXXXX5@gmail.com
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
credential.helper=gcloud.sh
remote.origin.url=https://source.developers.google.com/p/PROJECT_ID/r/default
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master

致以敬意,

EN

Stack Overflow用户

发布于 2016-05-12 20:00:08

奥凯,解决了。

代码语言:javascript
运行
复制
 git init
    Reinitialized existing Git repository in C:/UsersXXXXXX/.git/
    cd .git
    gcloud init
    Welcome! This command will take you through the configuration of gcloud....balbalbalbla
    gcloud source repos clone default default
票数 1
EN
查看全部 3 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37183026

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档