how to remove git commit history

how to remove git commit history

如何删除 GitHub 仓库的历史数据

how to remove git commit history_第1张图片

GitHub 敏感数据删除政策

https://docs.github.com/cn/github/site-policy/github-sensitive-data-removal-policy

提交 DMCA 反对通知的指南

https://docs.github.com/cn/github/site-policy/guide-to-submitting-a-dmca-counter-notice

从仓库中删除敏感数据

https://docs.github.com/cn/github/authenticating-to-github/removing-sensitive-data-from-a-repository

https://docs.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository

英语书信模版

email


Dear Sirs/Madams,

1. by mistake
2. delete the commit history
3. no time, busy
4. poor English

your sincere friend xgqfrms

Thanks for your time! 

                                             Yours sincerely,
                                              xgqfrms

how to remove git commit history_第2张图片

https://github.com/github/dmca/blob/master/2018/11/2018-11-15-Jetbrains.md

Yours sincerely, 书信

DCMA

https://github.com/github/dmca

https://support.github.com/contact

https://support.github.com/contact/dmca-takedown

How to unlock my repo after DCMA takedown?

https://docs.github.com/cn/github/site-policy/dmca-takedown-policy

https://docs.github.com/cn/github/site-policy/guide-to-submitting-a-dmca-takedown-notice

git filter-branch

$ git filter-branch

https://docs.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository

https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History

https://git-scm.com/docs/git-filter-branch

BFG

java

$ wget http://repo1.maven.org/maven2/com/madgag/bfg/1.13.0/bfg-1.13.0.jar

$ git clone --mirror  git://github.com/xgqfrms/remove-git-history.git

# cd remove-git-history.git
$ java -jar bfg.jar --delete-files "filename"

https://rtyley.github.io/bfg-repo-cleaner/

GitHub DMCA takedown

https://www.cnblogs.com/xgqfrms/p/13329322.html

refs

https://linux.cn/article-9374-1.html

https://github.com/rtyley/bfg-repo-cleaner/issues/36

https://w3guy.com/remove-git-commit-history/


Flag Counter

©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


你可能感兴趣的:(how to remove git commit history)