$ 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