Is it possible to get a progress bar when doing a git clone
? I'm wondering because I am currently doing a git clone that has taken a few minutes so far and would be curious to know if it is going to finish soon.
I am currently doing a git clone that has taken a few minutes so far and would be curious to know if it is going to finish soon.
With Git 2.10 (Q3 2016), git clone --progress
will be more verbose.
See commit 38e590e by Jeff King (peff
)
(Merged by Junio C Hamano in commit a58a8e3 Aug. 4th 2016)
clone
: use a real progress meter for connectivity checkBecause the initial connectivity check for a cloned repository can be slow, 0781aa4 (
clone
: let the user know whencheck_everything_connected
is run, 2013-05-03) added a "fake" progress meter; we simply say "Checking connectivity
" when it starts, and "done
" at the end, with nothing between.Since
check_connected()
now knows how to do a real progress meter, we can drop our fake one and use that one instead.
As noted by ks1322 in the comments
--progress
is enabled by default when you rungit clone
from a terminal. There is no need to write it explicitly for terminal.