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