gitee 手动命令

用命令在 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/*  用星号提交多个文件

--------------------------------------

若开始的时候,提示不能提交,即pull后,无法push,这时重新pull 加入以下参数,就可以提交了。原因是两边的库历史没有统一。

$git pull origin master --allow-unrelated-histories

原文地址:https://www.cnblogs.com/sdgtxuyong/p/14857844.html