$ git clone -n https://gitee.com/src-opencloudos-rpms/libxml2.git /var/lib/mock/dist-oc8-build-80816-54055/root/chroot_tmpdir/scmroot/libxml2 Cloning into '/var/lib/mock/dist-oc8-build-80816-54055/root/chroot_tmpdir/scmroot/libxml2'... $ git fetch origin c2981f7c967b8c4e763ea76cfd6389ed5022fdf3:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libxml2 * [new ref] c2981f7c967b8c4e763ea76cfd6389ed5022fdf3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c2981f7 import libxml2-2.9.7-18.tl3.1