$ git clone -n https://gitee.com/src-anolis-os/opencsd.git /var/lib/mock/dist-an8-build-59868-32881/root/chroot_tmpdir/scmroot/opencsd Cloning into '/var/lib/mock/dist-an8-build-59868-32881/root/chroot_tmpdir/scmroot/opencsd'... $ git reset --hard origin/a8 HEAD is now at d173396 import opencsd-1.0.0-4.el8