GitHub使用傻瓜教程。

1.根据自己的系统安装git。github注册等等网上自查。

2.获取sshkey。

2.开始使用!

 

(1)在github上新建repository。

(2)打开终端,cd到项目的位置,使用命令:git init创建.git

(3)使用git status查看git库状态。

(4)有未添加的改动则 git add .

(5)使用git commit -m "此处写入你commit的信息"

(6)git remote add origin后面加上你的仓库地址

(7)可以开始push了!git push -u(-u第一次push时需要以后再push不需要是建立同步用的) origin master

此时你的项目应该已经被push到GitHub了~

 

posted @ 2016-02-27 21:27  KicasTec  阅读(214)  评论(0)    收藏  举报