$ git clone -n https://gitee.com/src-anolis-os/slang.git /var/lib/mock/dist-an8-poc-build-102154-45595/root/chroot_tmpdir/scmroot/slang Cloning into '/var/lib/mock/dist-an8-poc-build-102154-45595/root/chroot_tmpdir/scmroot/slang'... $ git reset --hard origin/a8-poc HEAD is now at afb93c1 add doc sub package