mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 00:53:19 +08:00
posts: 完善删除Git提交记录的文章并添加图片
添加了关于从GitHub完全删除孤立提交的详细步骤,包括如何提交支持工单的说明和示例模板。同时补充了相关的操作截图
This commit is contained in:
28
src/content/.obsidian/workspace.json
vendored
28
src/content/.obsidian/workspace.json
vendored
@@ -13,12 +13,12 @@
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "posts/mac-gal.md",
|
||||
"file": "posts/del-git-commit.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "mac-gal"
|
||||
"title": "del-git-commit"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -94,7 +94,7 @@
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "posts/mac-gal.md",
|
||||
"file": "posts/del-git-commit.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
@@ -104,7 +104,7 @@
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-coming-in",
|
||||
"title": "mac-gal 的反向链接列表"
|
||||
"title": "del-git-commit 的反向链接列表"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -113,12 +113,12 @@
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "posts/mac-gal.md",
|
||||
"file": "posts/del-git-commit.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
},
|
||||
"icon": "links-going-out",
|
||||
"title": "mac-gal 的出链列表"
|
||||
"title": "del-git-commit 的出链列表"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -142,13 +142,13 @@
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "posts/mac-gal.md",
|
||||
"file": "posts/del-git-commit.md",
|
||||
"followCursor": false,
|
||||
"showSearch": false,
|
||||
"searchQuery": ""
|
||||
},
|
||||
"icon": "lucide-list",
|
||||
"title": "mac-gal 的大纲"
|
||||
"title": "del-git-commit 的大纲"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -171,6 +171,13 @@
|
||||
},
|
||||
"active": "ea8fe4fe54e0109e",
|
||||
"lastOpenFiles": [
|
||||
"assets/images/del-git-commit-15.png",
|
||||
"assets/images/del-git-commit-14.png",
|
||||
"assets/images/del-git-commit-13.png",
|
||||
"assets/images/del-git-commit-12.png",
|
||||
"assets/images/del-git-commit-11.png",
|
||||
"assets/images/del-git-commit-10.png",
|
||||
"posts/mac-gal.md",
|
||||
"posts/self-host-matrix.md",
|
||||
"posts/gal.md",
|
||||
"posts/del-git-commit.md",
|
||||
@@ -179,11 +186,6 @@
|
||||
"assets/images/del-git-commit-7.png",
|
||||
"assets/images/del-git-commit-6.png",
|
||||
"assets/images/del-git-commit-5.png",
|
||||
"assets/images/del-git-commit-4.png",
|
||||
"assets/images/del-git-commit-3.png",
|
||||
"assets/images/del-git-commit-2.png",
|
||||
"assets/images/del-git-commit-1.png",
|
||||
"assets/images/del-git-commit.png",
|
||||
"2024-11-20.md",
|
||||
"posts/fuwari.md"
|
||||
]
|
||||
|
||||
BIN
src/content/assets/images/del-git-commit-10.png
Normal file
BIN
src/content/assets/images/del-git-commit-10.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 690 KiB |
BIN
src/content/assets/images/del-git-commit-11.png
Normal file
BIN
src/content/assets/images/del-git-commit-11.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
BIN
src/content/assets/images/del-git-commit-12.png
Normal file
BIN
src/content/assets/images/del-git-commit-12.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 169 KiB |
BIN
src/content/assets/images/del-git-commit-13.png
Normal file
BIN
src/content/assets/images/del-git-commit-13.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 149 KiB |
BIN
src/content/assets/images/del-git-commit-14.png
Normal file
BIN
src/content/assets/images/del-git-commit-14.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 256 KiB |
BIN
src/content/assets/images/del-git-commit-15.png
Normal file
BIN
src/content/assets/images/del-git-commit-15.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
@@ -111,4 +111,60 @@ git remote add origin https://github.com/你的用户名/你的仓库名.git
|
||||
git push -u origin main -f
|
||||
```
|
||||
|
||||
此时,大功告成。自此时起,所有用户都已经看不到那个你不想让别人看到的文件与提交记录了,就像它从未存在过
|
||||
此时,大功告成。自此时起,所有用户都已经看不到那个你不想让别人看到的文件与提交记录了,就像它从未存在过
|
||||
|
||||
*真的吗?*
|
||||
|
||||
如果说,有些人仍留存着你仓库提交的完整 **commit id** ,那他们可以通过该链接访问到那个你想隐藏的提交,只不过Github会弹出警告: **This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.(此提交不属于此仓库的任何分支,可能属于仓库外的某个分支副本。)**
|
||||
```bash
|
||||
https://github.com/{user}/{repo}/commit/{commit id}
|
||||
```
|
||||
|
||||
如果想完全从Github上删除,你需要向Github提交支持工单: [GitHub 支持](https://support.github.com/)
|
||||
|
||||
点击我的工单
|
||||
|
||||

|
||||
|
||||
新工单
|
||||
|
||||

|
||||
|
||||
从我拥有或控制的存储库中删除数据
|
||||
|
||||

|
||||
|
||||
删除其他数据
|
||||
|
||||

|
||||
|
||||
接下来填写工单,你可以参考我的主题与正文(生成与 OpenAI ChatGPT 5.2)
|
||||
|
||||
```bash
|
||||
Title:Request to Remove an Orphaned Commit URL Containing Sensitive Information
|
||||
|
||||
Hello GitHub Support Team,
|
||||
|
||||
I am writing to request the removal of the following commit page from GitHub’s website:
|
||||
|
||||
https://github.com/{user}/{repo}/commit/{commit id}
|
||||
|
||||
This commit has already been removed from my local repository history and I have force-pushed the updated history to the GitHub remote repository. As a result, the commit is now orphaned and no longer reachable from any branch or tag.
|
||||
|
||||
However, the commit page itself is still accessible via its direct URL. Unfortunately, this commit contained sensitive information, and I would like to request that GitHub remove this URL from the website to prevent further access.
|
||||
|
||||
Please let me know if you need any additional information or verification from my side to proceed with this request.
|
||||
|
||||
Thank you very much for your time and assistance.
|
||||
|
||||
Best regards,
|
||||
{user}
|
||||
```
|
||||
|
||||

|
||||
|
||||
最后点击 **Continue** ,新版工单系统会自动使用Copilot为你生成一些帮助信息,等他BB完,我们继续创建即可
|
||||
|
||||
马上,你就会收到一封来自Github的邮件,表示Github已经收到您的工单。耐心等待Github的下一步回复即可
|
||||
|
||||

|
||||
Reference in New Issue
Block a user