I can push to
email@example.com:wting/repo.git links without a password prompt since it's using my ssh-agent. However when I push to
https://github.com/wting/repo.git it always asks for username and password.
The issue can somewhat be alleviated by using password caching, but I'd rather not use that.
This mainly pops up when using gists because they only show an https link (e.g.
https://gist.github.com/123.git). I don't want to modify the URL of every gist I clone to use the
How do I set it up so that git uses my ssh-agent when pushing to an https address?
Relevant URL: Why does GitHub recommend HTTPS over SSH?