0.1.0 • Published 4 years ago

@luozhu/geita v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@luozhu/geita

Install

$ npm install @luozhu/geita -g

命令

geita prune-file

单独清理某个文件的所有历史记录。

清理完后需要将本地记录覆盖到 Github(所有 branch 以及所有 tags)

git push origin --force --all
git push origin --force --tags

确保没有什么问题之后,强制解除对本地存储库中的所有对象的引用和垃圾收集:

git gc --prune=now

geita prune-msg

清理 commit message 中的敏感信息。

0.1.0

4 years ago