$ git clone -n https://gitee.com/src-opencloudos-rpms/dmidecode /var/lib/mock/dist-oc8-build-56895-15178/root/chroot_tmpdir/scmroot/dmidecode Cloning into '/var/lib/mock/dist-oc8-build-56895-15178/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 f140f52 import dmidecode-3.3-4.tl3.1