如何检查文件或文件夹(就我而言)是否已从您的git历史记录中删除?
我使用“ bfg repo清洁器”删除了我不小心跟踪并推到远程存储库的文件夹(目标),我想知道如何检查该文件夹是否确实完全从GIT历史记录中删除了?
I used the "BFG Repo Cleaner" to remove a folder (target) I accidentally tracked and pushed to the remote repository, and I am wondering how I can I check if the folder was indeed completely removed from the git history?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设
如果它空了,则没有包含此类文件夹的提交。
如果您只知道一个曾经在此文件夹中的文件的名称,并且该名称在整个项目中是唯一的,则可以说
如果是空的,则该文件已从历史记录中消失;这将是奏效的主要线索。
Say
If it comes up empty, no commit containing such a folder is reachable.
If you know the name of just one file that used to be in this folder, and if that name is unique across the whole project, it suffices to say
If that comes up empty, that file is gone from the history; that will be a major clue that this has worked.