1 下载安装文件:我安装了1.7.11.3版本
http://code.google.com/p/git-osx-installer/
2 安装
3 登陆www.github.com, 注册,把本地的ssh id_rsa.pub内容上传到自己的github
Account settings->SSH Keys
4 在本地测试是否配置成功
ssh -T [email protected]
结果:
Hi shixin86! You've successfully authenticated, but GitHub does not provide shell access.
表明本地git和github打通了
5 把代码clone到本地
git clone git://github.com/linkedin/sensei.git shixin_sensei
git on mac && github
猜你喜欢
转载自shixin42.iteye.com/blog/1677578
今日推荐
周排行