cli/internal/ghinstance
Mislav Marohnić 583af3e54c
Allow gh auth git-credential to authenticate GitHub Gist requests (#3064)
* Allow `gh auth git-credential` to authenticate GitHub Gist requests

When there are stored credentials for `example.com`, allow using them to
authenticate requests to `gist.example.com` as well.

* Fix writing out of credential config

* remove unneccessary function

* actually delete

Co-authored-by: nate smith <vilmibm@github.com>
2022-01-14 22:18:07 +00:00
..
host.go Allow gh auth git-credential to authenticate GitHub Gist requests (#3064) 2022-01-14 22:18:07 +00:00
host_test.go Assume that github.localhost is available through http: and not https: 2021-10-18 20:01:18 +02:00