Repository navigation
docs(guide): add repo hygiene guidance - #33
Closed
pullfrog[bot] wants to merge 1 commit into
Closed
pullfrog[bot] wants to merge 1 commit into
pullfrog[bot] wants to merge 1 commit into
Conversation
Closed
Member
|
本 PR 仅新增仓库卫生说明文档,并未实际清理残留。#30 已通过直接删除孤儿标签/Release 并清理本地引用解决,故关闭本 PR。如仍希望补充该说明,可再单独提交。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #30
检测结论
对仓库的 Git refs 和提交历史做了完整盘点,结论如下:
✅ 干净的部分
main,无refs/original备份引用、无多余分支main的 16 个提交历史中已无大文件(完整拉取后.git仅 1.2MB)favicon.png、funding_wechat.png等)全部有引用,sitemap.xml、llms.txt、rss.xml均与现有页面一致,未发现指向已删除页面的死链❌ 发现的残留
v1.0.08ce2148(与main无共同祖先),其 tip 树包含约 141.1MB 的大文件,主要是docs/public/data/下的winemag-data_first150k.csv(约 49.8MB)、crime.csv(约 44.5MB)、sales.xlsx(约 16MB)等refs/pull/*/headmain无共同祖先,同样吊着旧历史,由 GitHub 托管无法自行删除建议的处理方式
v1.0.0并删除对应 Release(或把标签重新指向当前main):contents:read权限不足,无法代为执行,需管理员操作。refs/pull/*残留需联系 GitHub Support 清理。本 PR 的改动
在
docs/guide/contributing.md新增「仓库卫生」一节,沉淀本次检测的结论:日常提交避免大文件,以及历史重写后如何清理refs/original、失效标签等残留引用。已通过pnpm docs:build验证。GLM Flash| 𝕏