$ git clone -n https://gitee.com/aixan/gcr.git /var/lib/mock/dist-an8.6-build-94437-45467/root/chroot_tmpdir/scmroot/gcr Cloning into '/var/lib/mock/dist-an8.6-build-94437-45467/root/chroot_tmpdir/scmroot/gcr'... $ git reset --hard 1b9b418cf61434fab3ac5304e984bbea8ee3b222 HEAD is now at 1b9b418 import gcr-3.28.0-1.el8.src.rpm