Easiest solution (but please read this whole answer before doing this): git rebase -i <hash-of-commit-preceding-the-incorrect-one>(这里可以用要改的那次的hash,如果是前一两次也可以用HEAD^或者HEAD^^) In the editor that opens, change pick to reword on the line for the incorrec
一.git push origin master 时出错 错误信息为: Permission denied(publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 可能: 可能没联网 可能没配置好.git/conf文件 可能是与github上的账号没建立密钥对 二.解决办法 配置文