$ git clone -n https://gitee.com/src-anolis-os/gnome-logs.git /var/lib/mock/dist-an8.7-build-236993-62522/root/chroot_tmpdir/scmroot/gnome-logs Cloning into '/var/lib/mock/dist-an8.7-build-236993-62522/root/chroot_tmpdir/scmroot/gnome-logs'... $ git reset --hard 90397c8165425807a92f6b685c61a669ed9cd7ca HEAD is now at 90397c8 Add doc sub pack