posh-git is a PowerShell module which provides Git/PowerShell integration. The prompt within Git repositories can show the current branch and the state of files (additions, modifications, deletions) within. Provides tab completion for common commands when using git. Prompt formatting, among other things, can be customized. Displaying file status in the git prompt for a very large repo can be prohibitively slow. Rather than turn off file status entirely, you can disable it on a repo-by-repo basis by adding individual repository paths. PowerShell generates its prompt by executing a prompt function, if one exists. posh-git defines such a function in profile.example.ps1 that outputs the current working directory followed by an abbreviated git status.

Features

  • Supports Windows PowerShell 5.x
  • Supports PowerShell Core 6+ on all platforms
  • Supports ANSI escape sequences for color customization
  • Includes breaking changes from v0.x
  • Provides tab completion support for common git commands
  • With posh-git, PowerShell can tab complete git commands

Project Samples

Project Activity

See All Activity >

Categories

Git

License

MIT License

Follow posh-git

posh-git Web Site

Other Useful Business Software
Deploy Apps in Seconds with Cloud Run Icon
Deploy Apps in Seconds with Cloud Run

Host and run your applications without the need to manage infrastructure. Scales up from and down to zero automatically.

Cloud Run is the fastest way to deploy containerized apps. Push your code in Go, Python, Node.js, Java, or any language and Cloud Run builds and deploys it automatically. Get fast autoscaling, pay only when your code runs, and skip the infrastructure headaches. Two million requests free per month. And new customers get $300 in free credit.
Try Cloud Run Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of posh-git!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

PowerShell

Related Categories

PowerShell Git Software

Registered

2021-10-18