Boo to the Chocolatey Gods Boo to the Chocolatey Gods powershell powershell

Boo to the Chocolatey Gods


So installing Git and Posh-Git hasn't been too pleasant, how I fixed the error was by reinstalling Chocolatey, then doing the following:

@Powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin

I know it is a tedious command, but I reinstalled with the above then did the following through Power Shell (Ran as Administrator).

Set-ExecutionPolicy RemoteSignedcinst poshgit 

That didn't fully resolve as there were reminents of the previous failure, so I did:

cinst poshgit -forcecinst git.install -forcegit

Once I typed git I had access to the git commands and was able to:

git config --global user.name "Your Name"git config --global user.email "Your Email"cinst git-credential-winstore

Without any additional problems, the issue derived from the Command-Line install, should of just started with Power Shell.