您当前的位置: 首页 >  git

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4642博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

git更新:Your local changes to the following files would be overwritten by merge

柳鲲鹏 发布时间:2022-10-18 15:46:19 ,浏览量:0

  • 具体错误
error: Your local changes to the following files would be overwritten by merge:
        src/sfnt/ttcolr.c
Please commit your changes or stash them before you merge.
Aborting
  • 解决办法一:放弃修改
# 丢弃所有本地未提交的修改
git checkout .
  • 解决办法二:暂存
# 暂存到堆栈区
git stash

# 查看stash内容
git stash list

关注
打赏
1665724893
查看更多评论
立即登录/注册

微信扫码登录

0.1336s