This is a pretty neat tool that allows you to use regular git commands, but captures the output as a PowerShell objects. This allows you to use the power of PowerShell pipelines to enhance your git experience.
A couple of examples:
# Count logs by author
git log |
Group-Object GitUserEmail -NoElement |
Sort-Object Count -Descending
# Delete all branches except the current and main
git branch |
Where-Object -Not IsCurrentBranch |
Where-Object BranchName -NotIn 'main', 'master' |
git branch -d
You must log in or # to comment.