@kyanny's blog

My thoughts, my life. Views/opinions are my own.

Git: how to retrieve credentials with Git Credential Manager

git credential-manager-core get <<EOS
protocol=https
host=example.com

EOS

xref: Git リポジトリと通信する際にどの認証情報を使っているか確認する - @kyanny's blog