-
[email protected]:exfeandroid
-
[email protected]:exfebus
-
[email protected]:exfeiosv1
-
[email protected]:exfeiosv2
-
[email protected]:exfelight
-
[email protected]:exfeweb
-
[email protected]:wiki
-
[email protected]:gitolite-admin
-
[email protected]:devops
-
[email protected]:0d0f2b
-
web: wiki.0d0f.com
-
git: git.0d0f.com 例如: wiki project
[email protected]:wiki 或者 自定义 client: ~/.ssh/config git:wiki
-
server: panda.d0f0.com
- user: git
- group: git
-
git-server: Gitolite
-
wiki-system: Markdoc
-
/home/git/reps/wiki /exfe/exfewiki ln -sf /home/git/repos/wiki /home/git/repos/0d0fwiki/docs ln -sf /home/git/repos/wiki/markdoc.yaml /home/git/repos/0d0fwiki/markdoc.ymal
-
提供一个 user.pub 公钥
-
测试链接状态: ssh [email protected]
-
git clone [email protected]:wiki 或者 git clone git:wiki
-
git clone [email protected]:gitolite-admin 或者 git clone git:gitolite-admin
-
查看 remote : git remote -v
-
更改 remove: git remote set-url origin [email protected]:exfebus
-
本地也可以单独配置: ~/.ssh/config
Host git User git Hostname git.0d0f.com #Hostname 192.168.1.88 PreferredAuthentications publickey #注意这里你的私钥文件路径 IdentityFile ~/.ssh/xwhite/id_rsa
- 文件命名:始终用小写 如果文件名描述得不够明确,第一行使用#开头的一级标题,可以用来替代在列表的文件名显示
- 代码块采用缩进4个空格来展示。
- 行末带三个空格可以换行<br/>而不是分段<p></p>
- @leask
- @cfd
updated: 2013-07-47 15:39