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.
Check that git is accessible from PowerShell by executing git --version from PowerShell. If git is not recognized as the name of a command, verify that you have Git installed. If not, install Git from https://git-scm.com. If you have Git installed, make sure the path to git is in your PATH environment variable.
Git Bash is a package that installs Bash, some common bash utilities, and Git on a Windows operating system. However, it is recommended to use Git with Posh-Git. It's a PowerShell environment for Git. It's an open source project hosted on GitHub.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With