$ git clone -n https://gitee.com/src-opencloudos-rpms/LibRaw.git /var/lib/mock/dist-oc9-build-237387-82397/root/chroot_tmpdir/scmroot/LibRaw Cloning into '/var/lib/mock/dist-oc9-build-237387-82397/root/chroot_tmpdir/scmroot/LibRaw'... $ git fetch origin d5171b14cff274c158c42986d03ead8cb31e7922:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/LibRaw * [new ref] d5171b14cff274c158c42986d03ead8cb31e7922 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d5171b1 import LibRaw-0.21.2-6.tl4