$ git clone -n https://gitee.com/wb-qtt862918/file.git /var/lib/mock/dist-an7_9-updates-build-148118-52034/root/chroot_tmpdir/scmroot/file Cloning into '/var/lib/mock/dist-an7_9-updates-build-148118-52034/root/chroot_tmpdir/scmroot/file'... $ git reset --hard 21a12e4da8c0d9266ebb83c912f330bdb28c901c HEAD is now at 21a12e4 update to file-5.33-20.el8