$ git clone -n https://gitee.com/src-opencloudos-rpms/libldevice.git /var/lib/mock/dist-oc8-build-81038-54568/root/chroot_tmpdir/scmroot/libldevice Cloning into '/var/lib/mock/dist-oc8-build-81038-54568/root/chroot_tmpdir/scmroot/libldevice'... $ git fetch origin 80e4b3d1193f239dce0566ac8ab17d6255023d61:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libldevice * [new ref] 80e4b3d1193f239dce0566ac8ab17d6255023d61 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 80e4b3d import libldevice-0.2.1-1.ocs23