A set of PowerShell scripts which provide Git/PowerShell integration
Prompt for Git repositories
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.
git ch<tab> -->
profile.example.ps1 as to how you can integrate the tab completion and/or git prompt into your own profile.
Prompt formatting, among other things, can be customized using
Verify you have PowerShell 2.0 or better with $PSVersionTable.PSVersion
Verify execution of scripts is allowed with
Unrestricted). If scripts are not enabled, run PowerShell as Administrator and call
Set-ExecutionPolicy RemoteSigned -Confirm.
gitcan be run from PowerShell. If the command is not found, you will need to add a git alias or add
%ProgramFiles%\Git\cmdto your PATH environment variable.
Clone the posh-git repository to your local machine.
From the posh-git repository directory, run