$ git clone -n https://gitee.com/src-anolis-os/hyperv-daemons.git /var/lib/mock/dist-an8.9-build-340271-69827/root/chroot_tmpdir/scmroot/hyperv-daemons Cloning into '/var/lib/mock/dist-an8.9-build-340271-69827/root/chroot_tmpdir/scmroot/hyperv-daemons'... $ git reset --hard origin/a8 HEAD is now at dbbd5e7 update to hyperv-daemons-0-0.42.20190303git.src.rpm