Git clone verbose mode – show each incoming object

前端 未结 2 1162
生来不讨喜
生来不讨喜 2020-12-30 00:17

I’m wondering that git clone --verbose is not very verbose. The output of executing the command is the following:

$ git clone --verbose 

        
2条回答
  •  旧时难觅i
    2020-12-30 00:22

    I accept @Lekensteyn answer.

    If you want to trace git remote commands,add following environmental variables into your terminal.This helps you to peek into what is running behind the scenes of a git command.

    export GIT_TRACE_PACKET=1
    export GIT_TRACE=1
    export GIT_CURL_VERBOSE=1
    

    Reference:https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables

    Sample Cloning Result after export

提交回复
热议问题