GitHubDesktop:错误解决

1.问题:回档操作错误

error: Reverting is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: revert failed

1.1 参考

Git 一些错误的解决方法_微硬程序员的技术博客_51CTO博客Git 一些错误的解决方法,注:Git初学者的个人经验记录,仅供参考1.Pullisnotpossiblebecauseyouhaveunmergedfiles.症状:pull的时候$gitpullPullisnotpossiblebecauseyouhaveunmergedfiles.Please,fixthemupintheworktree,andthenusehttps://blog.51cto.com/halolk/1304701

1.2 解决

发现无法解决,最后距离最近的地方创建分支,然后将分支下载下来进行后续操作,这样就可以在分支上面继续操作了

然后push到网站

然后从网站找到对应的分支进行下载,在分支上面进行操作,也可以实现回档的效果

猜你喜欢

转载自blog.csdn.net/qq_40544338/article/details/125386257
今日推荐