$ git clone -n https://gitee.com/Weisson/centos2anolis.git /var/lib/mock/dist-an7_9-updates-build-155973-52034/root/chroot_tmpdir/scmroot/centos2anolis Cloning into '/var/lib/mock/dist-an7_9-updates-build-155973-52034/root/chroot_tmpdir/scmroot/centos2anolis'... $ git reset --hard 1bc4dcb58c419aff1bae41ded5b16184df9c7b88 HEAD is now at 1bc4dcb Add requirement of yum-utils to make sure that repoquery exists.