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