$ git clone -n https://gitee.com/uestc-cheng/libxml2_2.git /var/lib/mock/dist-an8.8-build-299742-65890/root/chroot_tmpdir/scmroot/libxml2_2 Cloning into '/var/lib/mock/dist-an8.8-build-299742-65890/root/chroot_tmpdir/scmroot/libxml2_2'... $ git fetch origin 7075d901f5dbf5ff2b00dd7692e69cefbc9eb544:KOJI_FETCH_HEAD From https://gitee.com/uestc-cheng/libxml2_2 * [new ref] 7075d901f5dbf5ff2b00dd7692e69cefbc9eb544 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7075d90 update libxml2.spec.