Reputation: 3014
I am running the git blame
command on a large file and would like to see the results in a text file.
Upvotes: 5
Views: 4260
Reputation: 15449
command line redirect which works for any command that prints to standard out:
git blame > output.txt
Upvotes: 3
Reputation: 60414
Sure. On the command line simply direct the output to your own file instead of STDOUT
:
git blame source_file > blame_result_file
Upvotes: 7