$ git clone -n https://gitee.com/alpha-wang/pigz.git /var/lib/mock/dist-an23-build-362229-71197/root/chroot_tmpdir/scmroot/pigz Cloning into '/var/lib/mock/dist-an23-build-362229-71197/root/chroot_tmpdir/scmroot/pigz'... $ git fetch origin 97937b6b6c7001fdea5e4b785bd67597f239f843:KOJI_FETCH_HEAD From https://gitee.com/alpha-wang/pigz * [new ref] 97937b6b6c7001fdea5e4b785bd67597f239f843 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 97937b6 download to 2.7