原文:git错误unable to create symlink ssl...Could not reset index file to revision ‘HEAD‘的解决方法

git reset hard 报错信息 error: unable to create symlink ssl: Permission denied fatal: Could not reset index file to revision HEAD ...

2020-12-22 19:46 0 2347 推荐指数:

查看详情

fatal: Unable to create 'D:/learngit/.git/index.lock': File exists.的解决方法

今天在学习git的时候,发现在执行git commit -m "add distributed"的时候,报了个错。 这个应该是因为 git操作的时候修改了一些文件导致的操作冲突被锁住了 所以我的解决方法是 rm -f /.git/index.lock' 删掉该文件 再运行就好了 ...

Tue Apr 16 16:19:00 CST 2019 0 1319
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM