找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1494|回复: 1

HBuilder X getee

[复制链接]
发表于 2022-11-27 17:24:54 | 显示全部楼层 |阅读模式
1、安装插件 easy-get Git源代码管理

2、初始化本地get
3、连接远程get
4、推送
会出现如下错误:
  1. error: failed to push some refs to 'https://gitee.com/sxxxxxx/xxxxxxxxxx.git'
  2. hint: Updates were rejected because the tip of your current branch is behind
  3. hint: its remote counterpart. Integrate the remote changes (e.g.
  4. hint: 'git pull ...') before pushing again.
  5. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
复制代码
处理如下:
打开终端输入:
  1. git pull --rebase origin master
复制代码
  1. git push -u origin master
复制代码


回复

使用道具 举报

 楼主| 发表于 2023-5-5 21:14:12 | 显示全部楼层
git push origin master -f

强制推送
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|企业数字化人才转型教练中心 ( 湘ICP备15006648号-1 )

GMT+8, 2024-10-23 07:26 , Processed in 0.059700 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表