GCP (Google Cloud Platform) Source Repositories 인증
컨텐츠 정보
- 1,920 조회
- 0 추천
- 
					
					
					
					
						
						목록
					
											
본문
				# GCP 소스 저장소 복제
```
gcloud source repos clone `{Repository Name}` --project=`{Project Name}`
```
# GCP 소스 저장소 인증
```
gcloud init && git config --global credential.https://source.developers.google.com.helper gcloud.sh
```
# GCP 소스 저장소에 푸시
```
git remote add `{Branch Name}` https://source.developers.google.com/p/`{Project Name}`/r/`{Repository Name}`
git push --all {Branch Name}
```
참고: {저장소 이름}, {프로젝트 이름}, {브랜치 이름}는 각각 실제 저장소, 프로젝트, 브랜치의 이름으로 교체해야 합니다. 또한, gcloud init을 실행하면 gcloud 설정이 재초기화되므로, 특정 설정에 따라 다른 효과가 발생할 수 있음에 유의해야 합니다.			
					관련자료
			댓글 0
					
			
				등록된 댓글이 없습니다.
			
					 
								





