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