$ git clone -n https://gitee.com/src-opencloudos-rpms/ipmitool.git /var/lib/mock/dist-oc9-build-58980-16463/root/chroot_tmpdir/scmroot/ipmitool Cloning into '/var/lib/mock/dist-oc9-build-58980-16463/root/chroot_tmpdir/scmroot/ipmitool'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/ipmitool * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9e14f75 import ipmitool-1.8.19-5.tl4