原文: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