문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판이전 판다음 판 | 이전 판 | ||
| utils:gcloud [2018/02/12 15:03] – taekgu | utils: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: | + | |
| - | + | 되돌리기 | |
| - | taekgu@gmail.com | + | |
| - | This is your Git password: | + | ==== 용어 ==== |
| - | + | * **IaaS**(Infrastructure as a Service) : Compute Engine | |
| - | 1/ | + | * **PaaS**(Platform |
| - | To use this password, add the following text to your .netrc file: | + | * **Kubernetes**(쿠버네티스)기반의 Docker런타임 |
| - | + | ||
| - | machine source.developers.google.com login taekgu@gmail.com password 1/ | + | |
| - | 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, | + | |
| - | + | ||
| - | 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/ | + | |
| - | + | ||
| - | curl https:// | + | |
| - | 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. | ||