`
zjjzmw1
  • 浏览: 1352594 次
  • 性别: Icon_minigender_1
  • 来自: 开封
社区版块
存档分类
最新评论

如何把本地项目上传到github

    博客分类:
  • iOS
阅读更多

转载自 :http://blog.csdn.net/hanhailong726188/article/details/46738929

 

创建 git 的项目。。。git init  git add .   git commit -m ""    

 然后在github 网站创建自己的名字尽量保证一致。

 

把地址复制 出来 git remote add origin https://github.com/hanhailong/CustomRatingBar

 

第六步:上传github之前,要先pull一下,执行如下命令:

 

git pull origin master

 

git push -u origin master

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics