$ git clone -n https://gitee.com/geliwei/p7zip.git /var/lib/mock/dist-an23-dde-build-557719-90217/root/chroot_tmpdir/scmroot/p7zip Cloning into '/var/lib/mock/dist-an23-dde-build-557719-90217/root/chroot_tmpdir/scmroot/p7zip'... $ git reset --hard ae85715e8f7c2718e8ab99a102cd6bb311025a70 HEAD is now at ae85715 Move anolis_release define out of the rhel/epel conditional