【发布时间】:2021-09-08 21:19:21
【问题描述】:
我已通过以下两种方法删除了我的 repo 的整个提交历史记录:
- how to delete all commit history in github?
- https://www.willandskill.se/en/deleting-your-git-commit-history-without-removing-repo-on-github-bitbucket/
虽然历史记录在任何地方的回购页面上都不可见,但当我尝试使用旧提交链接(即https://github.com/username/repo/blob/number/filename)访问时,我能够看到更改。唯一的情况是,当我更改存储库的可见性时,它给出 404。如何防止公共存储库访问所有旧更改?
【问题讨论】:
-
这似乎是 git hub 的支持问题