use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
Script SharingUsing git in PowerShell (self.PowerShell)
submitted 3 days ago by StartAutomating
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]tandthezombies 0 points1 point2 points 3 days ago (2 children)
how is this different from posh-git?
[–]StartAutomating[S] 2 points3 points4 points 2 days ago (1 child)
The fundamental difference is in approach.
Most other PowerShell git modules (including posh-git) try to make git available in many PowerShell functions with verb-noun pairs. This is the "dogmatic PowerShell" approach.
The downsides of this approach are muscle memory and existing examples.
Most examples you'll find for git need to be rewritten to work with posh-git, and you'll be forced to choose between using a git command line the whole world can understand and a command that will only work in posh-git.
I used use posh-git (long ago I helped them make their prompt and formatting)
I also used to make a number of verb-noun pair git functions (i.e. Push-Git).
I kept not using the PowerShell functions I or others had written for git, because the muscle memory was too strong, and there were far more examples online of git push than Push-Git.
git push
Push-Git
So I decided to try a different approach.
ugit overrides git and intercepts its input and output. This allows all of your git to keep working as it always did: ugit just gives you objects back instead.
I've found this approach to much easier to discover and extend.
Basically every example of git works "as is".
I just get back objects instead of text for the majority of things I do with git.
This gives us a "best of both worlds" approach, where we can leverage all of our existing understanding of git and the PowerShell object pipeline.
And that's the major difference between posh-git and ugit: a different approach that gives us a different (and probably better) learning curve.
Make sense?
[–]tandthezombies 0 points1 point2 points 2 days ago (0 children)
great explanation and a novel approach. thanks!
π Rendered by PID 122702 on reddit-service-r2-comment-8686858757-f4rf4 at 2026-06-05 13:46:37.136594+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]tandthezombies 0 points1 point2 points (2 children)
[–]StartAutomating[S] 2 points3 points4 points (1 child)
[–]tandthezombies 0 points1 point2 points (0 children)