本地已经存在项目,第一次上传,github上建好仓库,然后在terminal中依次输入下列命令
1. cd 到你的本地项目根目录下
2. git init
3. git add .
4. git commit -m ""
5. git remote add origin https://github.com/lmncomeon/ballsCollisionDemo.git
6. git push -u origin master
1. cd 到你的本地项目根目录下
2. git init
3. git add .
4. git commit -m ""
5. git remote add origin https://github.com/lmncomeon/ballsCollisionDemo.git
6. git push -u origin master
本文标题:本地项目上传至github
本文链接:https://www.haomeiwen.com/subject/yflxzxtx.html
网友评论