git

2018-03-09  本文已影响0人  Alanchuan钏

1. github网站注册

2. 本地安装git

3. ssh 生成公钥和秘钥,公钥放在自己的github主页里

4. 命令行  在本地建立一个文件夹,进入文件夹,执行git init,将文件设置位git仓库;

                                                                              执行git remote add origin 这里把github上仓库的网址黏贴过来

https://www.jianshu.com/p/f62995d7ecf2(这篇没有提到远程链接仓库,参考http://blog.csdn.net/xiaohanluo/article/details/53214933)

5. 试一试上传本地代码和下拉远程代码,其他命令之后用到的时候再来仔细看。

上一篇下一篇

猜你喜欢

热点阅读