$ git clone -n https://gitee.com/src-opencloudos-rpms/dmidecode /var/lib/mock/dist-oc8-build-57866-15781/root/chroot_tmpdir/scmroot/dmidecode Cloning into '/var/lib/mock/dist-oc8-build-57866-15781/root/chroot_tmpdir/scmroot/dmidecode'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/dmidecode * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bc83c64 import dmidecode-3.3-5.tl3