git pull origin master失败

hint: You have divergent branches and need to specify how to reconcile them. hint: You can do so by running one of the following commands sometime before hint: your next pull: hint: hint: git config pull.rebase false # merge hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. fatal: Need to specify how to reconcile divergent branches.

复制代码
# 查看本地和远程分支的差异
git log --oneline --graph --all -10

# 查看本地未推送的提交
git log origin/master..HEAD --oneline

git config pull.rebase true
git pull origin master


git config pull.rebase false  
git pull origin master
相关推荐
SL_staff3 小时前
BI大屏嵌入MES的登录态难题:JVS统一账号体系实战解法
java·数据分析·数据可视化
乌暮4 小时前
综合案例:宠物电商系统
java·开发语言·spring·mvc·restful·1024程序员节
大文说跨境4 小时前
亚马逊多店铺的图片素材怎么批量去重:EXIF 与哈希的处理流程
开发语言·php
VimorphTech4 小时前
一段字幕太长,怎样拆句并安排显示时间?
java·spring boot
万联WANFLOW4 小时前
Kimi K3.1 Pro 接口接入指南:模型选型、费用计算与零数据保留
java·spring boot·python·安全·spring·大模型
织码weavecodes4 小时前
新闻资讯模块设计:内容发布、阅读计数与附件鉴权
java·服务器·数据库
学到老活到老4 小时前
Spring 事务怎样生效?为什么加了 @Transactional 仍不回滚?
java·spring
学到老活到老4 小时前
Spring 怎样创建 Bean?@Autowired 在哪一步生效?
java·spring
用户112936112194 小时前
我扫了项目里 739 个 Controller,发现最危险的越权漏洞不是没认证
java
小羊没烦恼!4 小时前
分布式事务 | 使用DTM 的Saga 模式
java·linux·运维·数据库·wpf