Git clone verbose output?

后端 未结 1 445
隐瞒了意图╮
隐瞒了意图╮ 2021-02-05 00:25

I have to clone a couple of big repos in my Dockerfile. It really can take an hour to clone a single repo and I want to see standard Git progress output to understand what\'s go

1条回答
  •  时光说笑
    2021-02-05 01:07

    As far as I undestand it's not the issue of the Docker, but issue of the git. By default git shows progress if you are in an interactive console. If you are not you could specify additional paremeters to git clone to output progress to stdout:

    git clone --progress --verbose .....
    

    0 讨论(0)
提交回复
热议问题