会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一叶扁舟
2019.08.23 慢慢积累,总会变强大的 2024.07.09 温故而知新 可以为师矣
博客园
首页
新随笔
联系
管理
2025年1月2日
git rest --hard
摘要: git push 时如果发现带有以前的 commit,且 git pull 和 rebase 都尝试过也无效 可以使用 git reset --hard origin/master 来定位到最新的 commit,并重新提交变动的代码 git reset --hard origin/master
阅读全文
posted @ 2025-01-02 17:27 strive-sun
阅读(7)
评论(0)
推荐(0)
公告