1.来到项目根目录 建立仓库 git init
2.git add . / git add 文件名
3.将add的文件commit到仓库 git commit -m "注释语句"
4.去github上创建自己的Repository,一般都是public免费
5.将本地的仓库关联到github git remote add origin https://github.com/dddd/ddddddd
6.git pull origin master
7.git push -u origin master
网友评论