项目开发-后端-新建.Net core项目同Github仓库初始化同步工作
在新建的.Net core项目源码目录下,进入cmd窗口键入以下命令
git init
git remote add origin <远程仓库地址>
git checkout -b develop origin/develop
git fetch origin
git merge origin/develop
···//初始化文件操作
git diff --word-diff
git commit -a -m "init project"
git push origin develop
..
原创
2020-10-20 10:19:55 ·
119 阅读 ·
0 评论