input>git log
out>fatal: your current branch 'master' does not have any commits yet
input > git rebase -i xxx
out>invalid upstream
input > git rebase -i xxxXXXXXXXXXXXXXXX
out>fatal: Could not parse object
input>git log --pretty=format:XXX
out>fatal: ambiguous argument 'XXX': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
总结:网上的辣鸡教程全部失败,只有简单粗暴地删除commit重新上传项目