如何把本地项目上传到github

转载自 :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

 

扫描二维码关注公众号,回复: 290101 查看本文章

git push -u origin master

 

 

猜你喜欢

转载自zhangmingwei.iteye.com/blog/2307678