How to totally suppress Git Clone output?

后端 未结 1 2032
小蘑菇
小蘑菇 2021-01-20 12:49

I am writing a shell script wherein I am doing

log=/var/tmp/git_prod_test_pack/log.out
Time_clone=`(/usr/bin/time -f\'%e\' git clone --quiet ssh://id@xxxxxx         


        
相关标签:
1条回答
  • 2021-01-20 13:05

    git clone --quiet https://github.com/dask/dask.git does not produce any output unless you have errors. Your code should work fine, unless you have some bug in the (older) git you use or some weird config of your shell.

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