$ git clone -n https://gitee.com/src-anolis-os/rasqal.git /var/lib/mock/dist-an8.7-build-134107-48661/root/chroot_tmpdir/scmroot/rasqal Cloning into '/var/lib/mock/dist-an8.7-build-134107-48661/root/chroot_tmpdir/scmroot/rasqal'... $ git reset --hard origin/a8 HEAD is now at 8e7c61a spec: add doc sub package