0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

GithubにSSH接続できているのに、名前解決エラーによりGit操作ができないとき

Posted at

ssh -T git@github.comを実行した際に,You've successfully authenticatedと表示されているのが前提です

原因

~/.gitconfigに[user]項目以外の項目([url "github:"])が含まれていた

解決策

~/.gitconfigから[url "github:"]や[url "git@github.com:"]の項目を削除する(全体を削除しなくても.insteadofの項目を除くだけでも良いと思います)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?