Git学習のために環境設定をしていたのですが、そこで詰まっております。
環境
Git:git version 2.28.0.windows.1
OS:Windows 64bit
コマンド:GitBash
やったこと
1.~/.ssh/.configの設定
Host github HostName github.com User git IdentityFile ~/.ssh/id_rsa
2.秘密鍵と同じディレクトリにある公開鍵(id_rsa.pub)をgithubの「SSH kyes」に登録
3.GitBashで「ssh github」と叩くと以下のエラーが出る
ssh: Could not resolve hostname github: Name or service not known
回答2件
下記のような回答は推奨されていません。
このような回答には修正を依頼しましょう。