总结一下git的常用操作
推送到新的代码仓库
新建一个代码仓库,不要初始化(初始化了就会有分支名称、默认文件,后面推送就得解决冲突)
git init
git remote add gitee https://gitee.com/。。。.git
git branch -M master
git add .
git commit -m "Initial commit"
git push -u gitee master
提交代码
git add .
git commit -m "Initial commit"
git pull origin develop
git push origin develop