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