Are there any PowerShell Cmdlets for interfacing with Git? Especially 'git log'. All this regex parsing is numbing by buns. Maybe with Microsoft's recent interest in Git, someone is working on this using libgit2sharp? I'm aware of posh-git, but I don't think it adds any cmdlets for returning git info as objects.
1 Answer
Pit ( https://github.com/manojlds/pit ) has some basic support for git status and git log. Use the Get-GitStatus and Get-GitLog cmdlets respectively. It is very simple, at very early stages, so would love some suggestions.
1 Comment
Carl Walsh
Should Pit work for powershell 5 (or powershell core 6?) it's not working for me.
get-contentreturns the content of README.