如何让 magit 在状态缓冲区中显示文件大小(至少是未暂存的文件)?这将帮助我避免将大文件直接添加到 git。
这是状态缓冲区现在可能看起来的示例:
Local: master ~/some/repo/
Remote: master @ server (git@server.com:path/to/repo.git)
Head: ea55b10 last commit message
Untracked files:
new_file_1.ext
new_file_2.ext
Unstaged changes:
Modified old_file_1.ext
Modified old_file_2.ext
Unpushed commits:
ea55b10 last commit message
这是我想看到的:
Local: master ~/some/repo/
Remote: master @ server (git@server.com:path/to/repo.git)
Head: ea55b10 last commit message
Untracked files:
new_file_1.ext 10K
new_file_2.ext 5M
Unstaged changes:
Modified old_file_1.ext 100K
Modified old_file_2.ext 530
Unpushed commits:
ea55b10 last commit message