$ git clone -n https://gitee.com/src-opencloudos-rpms/libxml2.git /var/lib/mock/dist-oc8-build-242022-82936/root/chroot_tmpdir/scmroot/libxml2 Cloning into '/var/lib/mock/dist-oc8-build-242022-82936/root/chroot_tmpdir/scmroot/libxml2'... $ git fetch origin 0c7f7a1ba747e019e14bdcbd1ad94f007a2732ba:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libxml2 * [new ref] 0c7f7a1ba747e019e14bdcbd1ad94f007a2732ba -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0c7f7a1 import libxml2-2.9.7-21.tl3.5