git
バーチャルボックス上のCentOsでgithubに接続する
1 | cat ~/.ssh/id_rsa.pub |
gitへの接続をsshで確認してみる。
1 | ssh -l git -i ~/.ssh/id_rsa github.com |
エラー1
ssh: Could not resolve hostname github.com: Temporary failure in name resolution
そもそも、外部ネットワークに繋がっているのか、?
バーチャルボックのネットワークの接続をブリッジ設定に変更。1
2ping yahoo.co.jp
ping: unknown host yahoo.co.jp
gitの接続に成功した場合のメッセージ。
1 | Warning: Permanently added the RSA host key |
1 | git status |
git fetch実行1
git fetch --all && git reset --hard origin/feature/*** && composer dump-autoload
Comments