사용자 도구

사이트 도구


utils:gcloud

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
utils:gcloud [2018/02/12 15:03] taekguutils:gcloud [2025/04/15 10:05] (현재) – 바깥 편집 127.0.0.1
줄 1: 줄 1:
-===== Google Cloud SDK =====+===== Google Cloud ===== 
 +==== Google Cloud SDK ====
  
 명령 프롬프트에 다음을 입력합니다.  명령 프롬프트에 다음을 입력합니다. 
줄 11: 줄 12:
   gcloud init   gcloud init
  
-===== Cloud Source Repository =====+==== Cloud Source Repository ====
  
 +GCP의 소스저장소에서 소스Repository가져오기
   gcloud source repos clone mama --project=gentle-presence-194115   gcloud source repos clone mama --project=gentle-presence-194115
 +  gcloud source repos clone docuwiki --project=gentle-presence-194115
 +
 +  git pull google master
      
-Git Credentials +==== gcloud update ==== 
- +gcloud update하기 
-This is your Git username: +  gcloud components update 
- +되돌리기 
-taekgu@gmail.com +  gcloud components update --version 187.0.0 
-This is your Git password: +==== 용어 ==== 
- +  * **IaaS**(Infrastructure as Service) : Compute Engine 
-1/NfcoXCHV6OC08fxfAlOKkb-xwZ1j_25QgpuElkMjwKnFU2eERDC20hDu3r2_bNzV +  * **PaaS**(Platform as a Service) App Engine 
-To use this password, add the following text to your .netrc file: +  * **Kubernetes**(쿠버네티스)기반의 Docker런타임 Container Engine
- +
-machine source.developers.google.com login taekgu@gmail.com password 1/NfcoXCHV6OC08fxfAlOKkb-xwZ1j_25QgpuElkMjwKnFU2eERDC20hDu3r2_bNzV +
-Instructions for Removing Cookies +
- +
-If your Git client includes cookies in its request to source.developers.google.com, authorization may fail. Follow these steps to ensure correct behavior: +
- +
-Identify your Git cookie file. +
- +
-Run this command in your terminal: +
- +
-git config http.cookiefile +
-The output is the path to your Git cookie file. If the command produces no output, then you have no Git cookie file and you are done. +
-Identify the Cloud Source Repositories cookie in the Git cookie file. +
- +
-Open your Git cookie file in a text editor. Find the line that begins with source.developers.google.com. This is your Cloud Source Repositories cookie. +
- +
-If no line begins with source.developers.google.com, then you are not sending a Cloud Source Repositories cookie and you are done. +
- +
-Revoke the OAuth token in the Cloud Source Repositories cookie. +
- +
-If your cookie contains an OAuth refresh token (a value matching the regular expression 1/[-_A-Za-z0-9]+), then revoke the token. You can revoke the token by making a request to https://accounts.google.com/o/oauth2/revoke and including the token as a parameter+
- +
-curl https://accounts.google.com/o/oauth2/revoke?token={token} +
-Delete the Cloud Source Repositories cookie from the Git cookie file.+
  
-Delete the line you identified in Step 2. Save the Git cookie file and close your editor. 
-Learn more about using Cloud Source Repositories. 
utils/gcloud.1518447823.txt.gz · 마지막으로 수정됨: 2025/04/15 10:05 (바깥 편집)