repo 自用

来源:互联网 发布:mac office2011卸载 编辑:程序博客网 时间:2024/04/28 23:12

$ ssh -p 29418 -o "UserKnownHostsFile kh2" xizhimen

$ cat kh2 >> ~/.ssh/known_hosts

$ rm kh2

$ ssh-keygen -t rsa -P ""

http://xizhimen:8008/#/settings/ssh-keys;


$ git config --global user.email"cguo@capital-micro.com"

$ git config --global user.name "Eric Guo"

$ git config --global review.http://xizhimen:8008/.username "cguo"


Under cygwin, the following is needed:

$ git config --global core.filemode false


$ repo init -u ssh://xizhimen:29418/primace/manifests.git -b <branch> -g <groups>-p <platforms> -m <xml_file>

$ repo sync




0 0
原创粉丝点击