$ git clone -n https://gitee.com/huoyuanhao/gcr.git /var/lib/mock/dist-an7_9-updates-build-111447-45851/root/chroot_tmpdir/scmroot/gcr Cloning into '/var/lib/mock/dist-an7_9-updates-build-111447-45851/root/chroot_tmpdir/scmroot/gcr'... $ git reset --hard 1b9b418cf61434fab3ac5304e984bbea8ee3b222 HEAD is now at 1b9b418 import gcr-3.28.0-1.el8.src.rpm