posh-git

A PowerShell environment for Git (by dahlbyk)

Posh-git Alternatives

Similar projects and alternatives to posh-git

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better posh-git alternative or higher similarity.

posh-git discussion

Log in or Post with

posh-git reviews and mentions

Posts with mentions or reviews of posh-git. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-29.
  • PowerShell: The object-oriented shell you didn't know you needed
    2 projects | news.ycombinator.com | 29 Apr 2024
    Ah if you want auto completion for native commands they need to be registered first. PSReadLine provides autocompletion support but it only works by default with things builtin to PowerShell itself. For `git` there is a fairly popular module called posh-git [1] that provides auto completion support for some of the well known commands. Git for Windows also calls it out [2]. You can also provide your own custom auto complete calls with Register-ArgumentCompleter [3]. Hope this helps!

    [1] https://github.com/dahlbyk/posh-git

  • The bash book to rule them all
    5 projects | news.ycombinator.com | 25 Nov 2023
    PowerShell: https://github.com/dahlbyk/posh-git/blob/master/src/GitPromp...

    I believe this is clean Bash code and clean PowerShell code, and a script with a certain complexity. The functions inside the Bash script are documented using comments, the ones inside the PowerShell script are documented using "structured comments" (similar to javadoc/xmldoc/...). The parameters of the functions inside the PowerShell script also contain metadata which is used to provide completion on the commandline and similar functionality as the command line flags you demonstrated.

    I just learned about 'getopts' in Bash, which you can actually also use to implement parameters to a Bash function. So what you are showing on a script level, can also be applied for functions. Did not know about that.

    Still, not saying PowerShell is better than Bash in a Linux context, but it seems a lot of Linux users have a gut reaction to right out reject PowerShell. I think it does have some advantages for certain use cases, like more complex scripts, a cross-platform context, ... and of course, for someone with a .NET background it's easier to program more complex things with it.

  • Stuck trying to execute a ps1 from my github repo
    1 project | /r/PowerShell | 1 Oct 2022
  • Kitsch-Prompt - golang based cross-platform shell prompt
    3 projects | /r/golang | 19 Sep 2022
    Starship is pretty slick, but I feel like it's lacking in the customization department. It's easy to get it to display whatever you want, but hard to get it to show it exactly how you want it. If you want a "powerline" style prompt, that's basically impossible in Starship (although it's one of the most upvoted feature requests). Or using color gradients on the prompt - I have this 16.7M color display, why am I limited to flat colors? Finally I'm a big fan of posh git, and Starship doesn't have the ability to display anything like this natively. I used a custom command to run a modified version of posh-git for a long time, but it wasn't very fast.
  • What is the name of the cli tool that shows your current branch and changes you've made?
    6 projects | /r/git | 12 Sep 2022
    If you're on Windows, I've used posh-git in the past.
  • Repos and PowerShell
    1 project | /r/azuredevops | 6 Jul 2022
  • posh-git
    1 project | dev.to | 3 Jun 2022
  • Adding Git autocomplete to PowerShell (Windows)
    1 project | dev.to | 1 Apr 2022
  • I just discovered aliases and I'm looking for more.
    4 projects | /r/PowerShell | 24 Mar 2022
    The Posh-Git module for showing Git repo details in the prompt.
  • How to increase productivity at work with a pretty Windows Terminal and smart Powerline tools
    4 projects | dev.to | 5 Mar 2022
    Install Posh-Git using this command:
  • A note from our sponsor - SaaSHub
    www.saashub.com | 9 Dec 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic posh-git repo stats
18
7,730
2.6
3 months ago

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you konow that PowerShell is
the 40th most popular programming language
based on number of metions?