Magit提交的问题

71c88ac951929ad88e8d3e4c69c34e962992b629 is not a valid object … [Hit $ to see buffer *magit-process: testproject for details] [2 times]

按c提交后,就报上面的错误,有谁遇到过吗?谢谢

这应该是git的问题吧,使用用命令行提交试试?可以考虑用git gc 清理一下git

你要按照它的提示来,不是提示你按美元符查看错误信息么,没有猜错的话你是第一次使用magit,需要 git config --global user.name = “your name” git config --global user.email = “your email address” 以上配置可以在 eshell 中进行。