用命令在 bash here
然后 ,git init ,
再在 gitee上创建仓库,不初始化
在pc上,git commit -m "xxx"
以下为第一次提交时的关键代码
git remote add origin https://gitee.com/sdgtxuyong/gtx_project.git
git push -u origin master
-------------
git add xx/* 用星号提交多个文件
原文:https://www.cnblogs.com/sdgtxuyong/p/14857844.html