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