Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posts/rewrite-git-repo-history/ #11

Open
utterances-bot opened this issue Mar 7, 2023 · 0 comments
Open

posts/rewrite-git-repo-history/ #11

utterances-bot opened this issue Mar 7, 2023 · 0 comments

Comments

@utterances-bot
Copy link

重写你的 Git 仓库历史 | fissssssh

在你使用 git 的过程中,你是否有过以下问题:
提交信息写错了 提交了不该提交的文件(例如某些调试过程产生的文件) …… 如果这些问题仅存在于本地,那么有很多种解决办法,比如使用 commit --amend, rebase 等指令,大不了就 reset --mixed 再重新 commit
但是如果你过了好几个甚至好几十个提交才发现这些问题,那么用上述方法就不太好解决了
git-filter-repo git-filter-repo 是一个用于

https://blog.fissssssh.com/posts/rewrite-git-repo-history/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant