$ git clone -n https://gitee.com/src-anolis-os/xmlsec1.git /var/lib/mock/dist-an8.7-build-269908-64112/root/chroot_tmpdir/scmroot/xmlsec1 Cloning into '/var/lib/mock/dist-an8.7-build-269908-64112/root/chroot_tmpdir/scmroot/xmlsec1'... $ git reset --hard origin/a8 HEAD is now at f0f080b import xmlsec1-1.2.25-4.el8.src.rpm