$ git clone -n https://gitee.com/src-anolis-os/sysprof.git /var/lib/mock/dist-an8.7-build-171411-58942/root/chroot_tmpdir/scmroot/sysprof Cloning into '/var/lib/mock/dist-an8.7-build-171411-58942/root/chroot_tmpdir/scmroot/sysprof'... $ git reset --hard origin/a8-poc HEAD is now at e2bef1f Add doc sub pack