为了账号安全,请及时绑定邮箱和手机立即绑定

切換branch 時發生錯誤

當我想要切換idea branch 到 master branch 時發生以下錯誤:

error: Your local changes to the following files would be overwritten by checkout:  PETER.rtf

Please commit your changes or stash them before you switch branches. Aborting

請問該怎麼解決

正在回答

2 回答

一天了,同学,该死的版本兼容,还好找到了,试了可以的,比楼上的轻松多了

urbuanm

0 回复 有任何疑惑可以回复我~

Please commit your changes or stash them before you switch branches.

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
版本控制入门 – 搬进 Github
  • 参与学习       124456    人
  • 解答问题       191    个

Git版本控制/Github社会化编程平台,最短的时间上手 Git

进入课程

切換branch 時發生錯誤

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信