$ git clone -n https://gitee.com/src-opencloudos-rpms/LibRaw.git /var/lib/mock/dist-oc8-build-74037-49589/root/chroot_tmpdir/scmroot/LibRaw Cloning into '/var/lib/mock/dist-oc8-build-74037-49589/root/chroot_tmpdir/scmroot/LibRaw'... $ git fetch origin d590e490822e63ebe2bcb6b6f2c6983740ed3814:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/LibRaw * [new ref] d590e490822e63ebe2bcb6b6f2c6983740ed3814 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d590e49 import LibRaw-0.19.5-4.tl3