網(wǎng)站首頁(yè) 編程語(yǔ)言 正文
error: failed to push some refs to ‘http://git.text.com:9988.git‘hint: Updates were rejected...
作者:咸魚都能看懂的代碼 更新時(shí)間: 2022-04-14 編程語(yǔ)言To http://git.text.com:9988/text.git
?! [rejected] ? ? ? ?dev -> dev (non-fast-forward)
?! [rejected] ? ? ? ?feature.import_setting_view -> feature.import_setting_view (non-fast-forward)
error: failed to push some refs to 'http://git.text.com:9988.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
?
解決方案:不知什么原因,在git push時(shí)候,git自己選擇dev分支合并到dev分支,莫名其妙
方法一:打開(kāi)gitlab 網(wǎng)站,找到merge request里面自己提交的合并分支刪除,重新上傳,再次在git 命令里面git push就ok了
方法二:在git 命令窗口輸入git push 自己分支的路徑//比如origin feature_view
?如果還不行在上面命令基礎(chǔ)上,后面加個(gè)-f
問(wèn)題解決
原文鏈接:https://blog.csdn.net/qq_43644046/article/details/122696942
相關(guān)推薦
- 2024-03-08 SpringBoot 項(xiàng)目啟動(dòng)報(bào)錯(cuò) Failed to configure a DataSource
- 2022-10-20 Swift?Error的處理方法說(shuō)明_Swift
- 2024-01-14 springboot-mybatis/JPA流式查詢
- 2022-09-04 深入了解Golang包的獲取方法_Golang
- 2022-11-02 Go?語(yǔ)言簡(jiǎn)單實(shí)現(xiàn)Vigenere加密算法_Golang
- 2022-12-15 Qt開(kāi)發(fā)之使用socket實(shí)現(xiàn)遠(yuǎn)程控制_C 語(yǔ)言
- 2024-03-14 SpringBoot中RestTemplate 發(fā)送http請(qǐng)求
- 2022-04-03 Python?八個(gè)數(shù)據(jù)清洗實(shí)例代碼詳解_python
- 最近更新
-
- window11 系統(tǒng)安裝 yarn
- 超詳細(xì)win安裝深度學(xué)習(xí)環(huán)境2025年最新版(
- Linux 中運(yùn)行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲(chǔ)小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎(chǔ)操作-- 運(yùn)算符,流程控制 Flo
- 1. Int 和Integer 的區(qū)別,Jav
- spring @retryable不生效的一種
- Spring Security之認(rèn)證信息的處理
- Spring Security之認(rèn)證過(guò)濾器
- Spring Security概述快速入門
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權(quán)
- redisson分布式鎖中waittime的設(shè)
- maven:解決release錯(cuò)誤:Artif
- restTemplate使用總結(jié)
- Spring Security之安全異常處理
- MybatisPlus優(yōu)雅實(shí)現(xiàn)加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務(wù)發(fā)現(xiàn)-Nac
- Spring Security之基于HttpR
- Redis 底層數(shù)據(jù)結(jié)構(gòu)-簡(jiǎn)單動(dòng)態(tài)字符串(SD
- arthas操作spring被代理目標(biāo)對(duì)象命令
- Spring中的單例模式應(yīng)用詳解
- 聊聊消息隊(duì)列,發(fā)送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠(yuǎn)程分支