{"repo":"StartAutomating/ugit","free":true,"listed":false,"github":"https://github.com/StartAutomating/ugit","clone":"git clone https://github.com/StartAutomating/ugit.git","description":"Updated Git: A powerful PowerShell wrapper for git that lets you extend git, automate multiple repos, and output git as objects.","language":"PowerShell","stars":103,"topics":["git","powershell","git-repository","git-toolkit","git-tools","powershell-module"],"license":"MIT","category":"workflow-automation","readme_excerpt":"❤️ ⭐ ugit (Updated Git) is a powerful PowerShell module for git that lets you: output git as objects, automate multiple repos, and extend git. What is ugit? ugit is a PowerShell module that gives you an updated git. You can use the object pipeline to pipe folders or files into git. If you're using one of a number of supported commands, ugit will return your git output as objects. This enables a lot of interesting scenarios, giving you and updated way to work with git. Getting started PowerShell Install ugit from the PowerShell Gallery Install-Module ugit -Scope CurrentUser Then import it. Import-Module ugit -Force -PassThru Once you've imported ugit, just run git commands normally. If ugit has an extension for the command, it will output as an object. These objects can be formatted by PowerShell git log -n 5 To get a sense of what you can do, pipe a given git command into Get-Member. git log -n 5 Get-Member How ugit works: ugit only has a few commands: Use-Git After you've imported ugit, Use-Git is what will be called when you run \"git\". This happens because Use-Git is aliased to \"git\", and aliases are resolved first in PowerShell. Use-Git assumes all positional parameters are arguments to Git, and passes them on directly. This works in almost every scenario, except with some single character git options. You can pass these in quotes. When Use-Git outputs, it sets $global:LastGitOutput and then pipes to Out-Git. Out-Git Out-Git will attempt to take git output and return it as","default_branch":null,"files":null,"tree":[],"storefront":"/r/StartAutomating","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/StartAutomating/ugit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}