$ git clone -n https://gitee.com/src-anolis-os/libfprint.git /var/lib/mock/dist-an8.7-build-185471-60558/root/chroot_tmpdir/scmroot/libfprint Cloning into '/var/lib/mock/dist-an8.7-build-185471-60558/root/chroot_tmpdir/scmroot/libfprint'... $ git fetch origin a8-poc:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libfprint * [new branch] a8-poc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 73dd054 Add doc sub package