Chinaunix首页 | 论坛 | 博客
  • 博客访问: 627994
  • 博文数量: 149
  • 博客积分: 3901
  • 博客等级: 中校
  • 技术积分: 1558
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-16 14:33
文章分类

全部博文(149)

文章存档

2014年(2)

2013年(10)

2012年(32)

2011年(21)

2010年(84)

分类: 服务器与存储

2012-06-12 14:32:17



大部分来自  '高飞鸟-于哥' 总结,谢谢 。



开发机器,安装 msysgit,并生成公钥密钥
$> ssh-keygen
安装小乌龟
 


拷贝公钥,到服务器上服务器
$> adduser git
cat id_rsa.my.pub  >> ~/.ssh/authorized_keys
chmod 644 ~/.ssh/authorized_keys
git --bare init

#Git Bash显示中文
vi C:\Program Files\Git\etc\git-completion.bash
alias ls='ls --show-control-chars --color=auto -l'

git clone git@gitserver:/opt/git/project.git

window
 


阅读(1060) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~