Fork me on GitHub

Github

 


网站:https://github.com

注册 -- New repository -- 按提示填写 -- 完成仓库设置

 


 

网页和本地连接

CentOS

安装git   yum -y install git

mkdir github && cd github

克隆仓库 git clone git@github.com:xxxx/xx.git

cd xx

 

更改本地库(添加一个Python目录,下面有若干内容),提交到网页

git add Python

git commit -m "add Python"

git push 从本地推送到远端

 

从远端更新到本地 git pull

 


 

windows可以使用桌面版管理

 

也可以使用git bash和git gui进行管理远端

 


 

需要在远端添加认证id_rsa.pub

 

posted @ 2015-10-22 13:04  Roronoa__Zoro  阅读(115)  评论(0编辑  收藏  举报