Welcome to Shaun Luttin's public notebook. It contains rough, practical notes. The guiding idea is that, despite what marketing tells us, there are no experts at anything. Sharing our half-baked ideas helps everyone. We're all just muddling thru. Find out more about our work at bigfont.ca.

git blame - Suppress the filename and commit hash.

Tags: powershell, git

In this case, 105 is the length of the stuff we want to suppress. Tweak it as appropriate.

(git blame some/file.cs)|%{$i=40;$_.Substring($i, $_.Length-$i)}