git使用
cd project_dir && git init
git add .
,提交git commit -m "init"
git remote add origin https://xxxx.git
git push -u origin master
后面推送git push
git pull origin master --allow-unrelated-histories
git clone https://xxx.git
参考:
1. Git本地分支和远程分支关联: https://www.cnblogs.com/chechen/p/9950798.html
2. Git新建本地分支: https://blog.csdn.net/weixin_33831196/article/details/93513112
3. Git建立本地仓库并上传到Gitee: https://blog.csdn.net/sclibingqing/article/details/81179470