$ git clone -n https://gitee.com/src-opencloudos-rpms/expat.git /var/lib/mock/dist-oc8-build-113339-67850/root/chroot_tmpdir/scmroot/expat Cloning into '/var/lib/mock/dist-oc8-build-113339-67850/root/chroot_tmpdir/scmroot/expat'... $ git fetch origin e2561ff25d3567bafcf4bafa36b2fa4ee5355afc:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/expat * [new ref] e2561ff25d3567bafcf4bafa36b2fa4ee5355afc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e2561ff import expat-2.2.5-15.tl3