git checkout : You have local changes cannot switch branches&Entry would be overwritten by mege-CSDN博客

网站介绍:文章浏览阅读6.8k次。摘要:分支切换在git的使用中可谓是最重要的部分之一,而git checkout还经常被用于回滚当前工作目录——当然,也被用来做 分支切换。因此,这是出错率极高的命令。本文主要为你解析git checkout的两个如标题总的特殊错误,然后分析git checkout的回滚作用。When are not given, this command switches branches by