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 fetch/pull エラー

Posted at

Could not resolve hostname

リゾルバが正引きできませんでした的なエラー。
ずっと接続できていて、いきなりこのエラーが発生した、という場合は一時的なネットワークエラーとか、使用しているDNSサーバが死んでいるとか、そのあたり。
ワークアラウンドとしては、信頼できるパブリックDNSに一時的に変更するとか、ですかね。

以下はSourceTree使用時に表示されたエラー例

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch --prune origin 
ssh: Could not resolve hostname github.com: nodename nor servname provided, or not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Completed with errors, see above
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?