git 初始化操作

1.生成ssh key
2.登录github 添加生成的ssh key
3.git clone 时,使用ssh的git URL ,以后可不用输入密码。
具体步骤链接:http://blog.csdn.net/chenguolinblog/article/details/19929509 官方步骤说明: We recommend every repository include a README, LICENSE, and .gitignore. …or create a new repository on the command line echo # ndk >> README.md git init git add README.md git commit -m “first commit” git remote add origin git@github.com:angelwhu/ndk.git git push -u origin master …or push an existing repository from the command line git remote add origin git@github.com:angelwhu/ndk.git git push -u origin master …or import code from another repository You can initialize this repository with code from a Subversion, Mercurial, or TFS project.

文章作者: angelwhu
文章链接: https://www.angelwhu.com/paper/2015/09/17/git-initialization-operation/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 angelwhu_blog