如何在不删除文档的情况下删除所有提交并将其作为一次提交推送?
最佳答案
有多种选择,其中之一是:
git reset --soft <sha1 of first commit in your repo>
git commit --amend
关于git - 如何重置 git 项目中的所有内容并作为一次提交推送,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64551358/