git checkout : You have local changes cannot switch branches&Entry would be overwritten by mege
摘要:分支切换在git的使用中可谓是最重要的部分之一,而gitcheckout还经常被用于回滚当前工作目录——当然,也被用来做分支切换。因此,这是出错率极高的命令。本文主要为你解析gitcheckout的两个如标题总的特殊错误,然后分析gitcheckout的回滚作用。Whenarenotgiven,thiscommandswitchesbranchesbyupdatingtheindex,wor