我需要克隆一个远程存储库。我已经安装了git和gcloud,并且位于PATH中。(我在win10中)
我只是遵循了google first steps指南。在Ubuntu中工作,但我需要它在Win10上。
这是错误消息:
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.
我已经做了两天的几个谷歌搜索没有解决方案。有人能帮我吗?
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致以敬意,
发布于 2016-05-12 20:00:08
奥凯,解决了。
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 defaulthttps://stackoverflow.com/questions/37183026
复制相似问题