深`秋

Coding and Thinking
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

提交项目到github

Posted on 2016-05-12 22:35  深`秋  阅读(217)  评论(0)    收藏  举报

简单总结一下:

1.git shell cd到本地项目的目录

2.git init 会创建.git文件

3.touch README .ignore .license等文件

4.git add .

5.提交一次 git commit -m '备注'

6.登录到github,创建repository

6.git remote rm add origin

7.git remote add origin https://......(创建好的repository地址)

8.git pull origin master

9.git push origin master

ok~   大概先这样