l gcloud init
l git config credential.helper gcloud.cmd
//copy remote resource to client, folder = default
l git config --system --unset credential.helper
l gcloud source repos clone default
l push
git push google master
l clone
gcloud source repos clone default
l debug
git config credential.helper gcloud.cmd
git push origin
Config setting:
[credential]
helper = gcloud.cmd
[remote "QthToolSrc"]
url = https://source.developers.google.com/p/QthToolSrc/r/vivapro20160112
fetch = +refs/heads/*:refs/remotes/QthToolSrc/*
Code Bowser setting
https://console.cloud.google.com/code/
https://console.cloud.google.com/code/develop/repo?project=ssd-mp-ui-release
source code
https://console.cloud.google.com/code/develop/browse/default/master?project=ssd-mp-ui-release
billing:
https://console.cloud.google.com/billing/
all project preview:
https://console.cloud.google.com/iam-admin/projects?authuser=1
add folder
Delete project ;
資訊主頁->管理專案設定->
Another cmd
l git config --list
l google ssd setting
[remote "project-ssd"]
url = https://source.developers.google.com/p/project-ssd/r/default
fetch = +refs/heads/*:refs/remotes/project_ssd/*
[remote "google"]
url = https://source.developers.google.com/p/project-ssd/
fetch = +refs/heads/*:refs/remotes/google/*
my google project
https://console.cloud.google.com/iam-admin/projects
Ref:
Basic cmd
https://cloud.google.com/source-repositories/docs/adding-repositories-as-remotes
ERR: ERROR: (gcloud.auth.git-helper) Invalid input line format: [path=].
SOL: try cmd : credential.helper=gcloud.cmd
https://groups.google.com/forum/#!topic/google-cloud-sdk/8SfiaKEYXTM
Github setting python
[remote "origin"]
url = git@github.com:RealCool1983/python.git
fetch = +refs/heads/master:refs/remotes/origin/master
puttykeyfile = C:\\Users\\Rex_wu\\.ssh\\puttyKey.ppk
沒有留言:
張貼留言