$ git clone -n https://gitee.com/src-anolis-os/libhandy.git /var/lib/mock/dist-an8.9-build-382956-71837/root/chroot_tmpdir/scmroot/libhandy Cloning into '/var/lib/mock/dist-an8.9-build-382956-71837/root/chroot_tmpdir/scmroot/libhandy'... $ git fetch origin 077014b1777a4e2a34df094fc8992afcb86d7cd6:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libhandy * [new ref] 077014b1777a4e2a34df094fc8992afcb86d7cd6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 077014b Add doc sub pack