首页 > 其他分享 >代码合并冲突解决

代码合并冲突解决

时间:2022-12-31 19:23:10浏览次数:26  
标签:origin git 代码 合并 master 冲突 push


1.拉取远程仓库代码

git pull origin master --allow-unrelated-histories

2.使用vscode自带插件保留当前代码,或者手动合并

3.再次push

git push origin master

标签:origin,git,代码,合并,master,冲突,push
From: https://www.cnblogs.com/blog-zyx/p/17017124.html

相关文章