2016年12月29日 星期四

[GIT] google cloude git on windows 7

 

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

 

 

 

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

________________________________________ 3S CONFIDENTIALITY NOTICE: This message and all attachments may contain legally privileged and confidential information. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by replying to the message and delete all copies. Thank you.

沒有留言:

張貼留言