0
0

More than 1 year has passed since last update.

git clone時にログの詳細を確認する

Last updated at Posted at 2022-11-18

前提

  • Linux(RedHat系)
  • gitlab
  • httpsでクローン

確認方法

  • コマンドの頭に、GIT_TRACE=1 GIT_CURL_VERBOSE=1をつけるだけ。
GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone https//XXXX
  • httpsではこんな感じのログが出ます。
    以下のケースでは、アクセス先から送信されてきたCA証明書の公開鍵暗号強度が弱いためcloneに失敗していた例。
    ※クライアント側のcrypto-policiesがFUTURE(暗号化強度の要求が高め)だと発生した。DEFAULTに変更すると解消できる。

image.png

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