$ git clone -n https://gitee.com/src-opencloudos-rpms/freeipmi.git /var/lib/mock/dist-oc8-build-74827-51411/root/chroot_tmpdir/scmroot/freeipmi Cloning into '/var/lib/mock/dist-oc8-build-74827-51411/root/chroot_tmpdir/scmroot/freeipmi'... $ git fetch origin c31989bc691c748c72d3b65e92fc1bcbbec7de8c:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/freeipmi * [new ref] c31989bc691c748c72d3b65e92fc1bcbbec7de8c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c31989b import freeipmi-1.6.14-2.tl3