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