git 提示输入私钥 sign_and_send_pubkey: signing failed: agent refused operation
ubuntu 从其他机器拷贝了 .ssh文件夹,git clone 提示以下错误
查看现有解决方法
https://blog.csdn.net/StudyLww/article/details/90750158
ssh-add时提示 id_rsa权限问题
~/.ssh> chmod 0600 id_rsa
顺利解决
附常用GIT维护工具
git remote prune origin
How to fix Git fatal index file smaller than expected
$ git status
fatal: index file smaller than expected
$ rm .git/index
$ git reset HEAD .