2015-01-01 4 views
0

gce 콘솔에서 flint라는 프로젝트를 만들었습니다. gcloud init PROJECT 오류 리포지토리 URL을 가져올 수 없습니다.

은 그 때 나는 로컬 섹션 초기화 프로젝트에 https://cloud.google.com/sdk/gcloud/ 다음과 푸시 - 투 - 배포을 설정 자식의 repo를 초기화하기 위해서 노력했다. "부싯돌"- - 그리고 그것으로 "프로젝트 ID"구글 관계자

여기서 문제는 문서는 프로젝트 내가 선택한 이름을 구분하지 않는다는 것입니다 다음과 같은 오류

$ gcloud init flint Initialized gcloud directory in [~/flint/.gcloud]. Unable to fetch repository URL. Guessing the URL, but if your project uses repo-sync then the cloned repository may be read-only. Cloning [https://source.developers.google.com/p/flint/r/default] into [default]. Cloning into '~/flint/default'... fatal: remote error: Repository not found. You may need to create a repository for this project using the Source Code tab at https://console.developers.google.com ERROR: Command '['git', 'clone', 'https://source.developers.google.com/p/flint/r/default', '~/flint/default', '--config', 'credential.helper=gcloud.sh']' returned non-zero exit status 128 ERROR: Unable to initialize project [flint], cleaning up [~/flint]. ERROR: (gcloud.init) Unable to initialize project [flint].

+0

과 관련된 프로젝트의 같은 이메일 주소로 로그인되어 있는지 확인'더 이상 init' gcloud없는 * 프로젝트 이름 * 인수를 사용합니다. 요즘에는'gcloud source repos clone * project-name *'이 필요합니다. – poolie

답변

5

를 일으켰습니다. 내 프로젝트 ID는 칼륨 분노 -300과 비슷한 것이었다. 프로젝트 테이블의 항목으로 PROJECT NAME 및 PROJECT ID를 나열하는 프로젝트 테이블에서이를 볼 수 있습니다.

gcloud init에는 PROJECT ID를 사용해야합니다.

gcloud의 초기화 프로젝트 ID

문서는 프로젝트 이름과 ID 사이의 모호한

gcloud의 초기화 PROJECT

에게 말한다.

0

는 당신이 gcloud의 인증 로그인

관련 문제