$ git clone -n https://gitee.com/liujie-666/ipmitool.git /var/lib/mock/dist-an8.9-build-412350-72766/root/chroot_tmpdir/scmroot/ipmitool Cloning into '/var/lib/mock/dist-an8.9-build-412350-72766/root/chroot_tmpdir/scmroot/ipmitool'... $ git fetch origin a0ef8ff4ba1e5fcffd4637239e5daa86bbae3848:KOJI_FETCH_HEAD From https://gitee.com/liujie-666/ipmitool * [new ref] a0ef8ff4ba1e5fcffd4637239e5daa86bbae3848 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a0ef8ff fix lan print