I got a problem with posh git not showing the status flags.
This is what it looks like:
As you can see there are changes and my branch is behind the origin, but still the prompt only displays the current branch in Cyan. While it is ahead (Green and should have ~- for modified and deleted files.
i did remove the whole stuff again, and reinstalled it using PsGet Install-Module. Still no luck.
I found out why this did not work. The Method Get-GitStatus of GitUtil.ps1 (https://github.com/dahlbyk/posh-git/blob/master/GitUtils.ps1) contains a call to git status that looks like this:
but to make git work in
PowerShell - ISE
i created a git.cmd with the following code:and added a alias git to target the cmd. As i described here (Powershell displays some git command results as error in console even though operation was successful)
Which destroys the git status parsing of the posh~git GitUtils.ps1. I changed the GitUtils.ps1 to