有没有办法将"git blame"的结果输出到文本文件?

use*_*911 3 git shell

git blame在一个大文件上运行该命令,并希望在文本文件中看到结果.

Way*_*ett 5

当然.在命令行上只需将输出定向到您自己的文件,而不是STDOUT:

git blame source_file > blame_result_file
Run Code Online (Sandbox Code Playgroud)