1、dev分支,提交相关代码
git add .git commit -m ‘dev'git push -u origin dev
2、切换到master分支,拉取最新代码,合并
git checkout mastergit pull origin mastergit merge dev
3、查看状态,push到远程服务器
git statusgit push origin master
dev合并到主干master完成
时间:2023-11-06 07:41:04
git add .git commit -m ‘dev'git push -u origin dev
git checkout mastergit pull origin mastergit merge dev
git statusgit push origin master
dev合并到主干master完成