$ git clone -n https://gitee.com/src-anolis-os/plotutils.git /var/lib/mock/dist-an8.7-build-269865-64112/root/chroot_tmpdir/scmroot/plotutils Cloning into '/var/lib/mock/dist-an8.7-build-269865-64112/root/chroot_tmpdir/scmroot/plotutils'... $ git reset --hard origin/a8 HEAD is now at e1815b7 import plotutils-2.6-20.el8.src.rpm