$ git clone -n https://gitee.com/src-opencloudos-rpms/dmidecode.git /var/lib/mock/dist-oc8-build-74840-51457/root/chroot_tmpdir/scmroot/dmidecode Cloning into '/var/lib/mock/dist-oc8-build-74840-51457/root/chroot_tmpdir/scmroot/dmidecode'... $ git fetch origin 478c36d69b4991d5ef2cb2ea1cc65c9ecf0cf4fe:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/dmidecode * [new ref] 478c36d69b4991d5ef2cb2ea1cc65c9ecf0cf4fe -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 478c36d import dmidecode-3.5-1.tl3