$ git clone -n https://gitee.com/src-anolis-os/cachefilesd.git /var/lib/mock/dist-an8.6-build-99000-45576/root/chroot_tmpdir/scmroot/cachefilesd Cloning into '/var/lib/mock/dist-an8.6-build-99000-45576/root/chroot_tmpdir/scmroot/cachefilesd'... $ git reset --hard origin/a8-dev HEAD is now at ea8a070 spec: add doc sub package