加载中...
如何清理误提交到git的历史大文件?
如何清理误提交到git的历史大文件?
作者在更新其视频剪辑工具Clipify时,遇到了Git仓库中大量静态资源文件导致push速度变慢的问题。通过分析,发现使用`git rm --cached`命令无法彻底解决问题,因为Git仍保留历史提交中的大文件。作者最终采用git-fil...
2025-05-11 1679
Git
加载中...
导出Git提交记录
导出Git提交记录
https://git-scm.com/docs/git-log#Documentation/git-log.txt-emnem git log export command git log --after=2021-1-1 --befor...
2023-03-20 1919
Git
加载中...
从Git-repository中移除文件
从Git-repository中移除文件
使用 git rm --cached -r 命令,从版本库中移除 git rm -r --cached *.iml output rm 'commons/commons.iml' rm 'estate-repo.iml' rm 'servi...
2023-03-20 1360
Git
加载中...
Git command returns fatal error about the repository being owned by someone else
Git command returns fatal error about the repository being owned by someone else
https://confluence.atlassian.com/bbkb/git-command-returns-fatal-error-about-the-repository-being-owned-by-someone-else-1...
2023-03-20 1729
Git