Posh-Git: Avoid having to input your username and password for each push
Phil Haack gives the steps here: http://haacked.com/archive/2011/12/19/get-git-for-windows.aspx/
- Install msysgit (aka Git for Windows).
- Update Posh-Git
- Add the ssh-agent to your PATH.
This worked for me. The only challenge was step 2, because I had trouble installing PsGet. So I wrote another blog post to explain my resolution.
Troubleshooting
If ssh-agent keeps prompting for the password, manually run the following:
Import-Module Posh-Git
Start-SshAgent