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