0
点赞
收藏
分享

微信扫一扫

git error: Your local changes to the following files would be overwritten by merge 服务器自动更新

彩虹_bd07 2022-07-27 阅读 64


git error: Your local changes to the following files would be overwritten by merge 服务器自动更新_git

解决办法:

先进入库的文件

git error: Your local changes to the following files would be overwritten by merge 服务器自动更新_html_02

 

//提交所有文件
git add -A

//还原到某个历史 哈希值在git log里有对应的很长一段值的
git reset --hard

//清空暂存区
git clean

//运行这个,很容易删除了一些其它东西,

 

参考:​​http://blog.chinaunix.net/uid-10415985-id-4142896.html​​

举报

相关推荐

0 条评论