https://www.cnblogs.com/xieyang-yang/p/10767330.html
需求:將develop合並到master分支
1.查看當前分支(當前分支可以直接查看或者命令查看)
git branch或者命令git status
*代表當前分支
2.切換分支到master
git checkout mater
3.將代碼更新到最新版本
git pull
4.在master分支上,將develop分支合並到master上面
git merge develop
如果不行,使用命令
git merge develop --allow-unrelated-histories
5.添加到緩存
git add .
6.提交到本地分支
git commit -m '20190424'