$ git clone -n https://gitee.com/src-opencloudos-rpms/libfastjson.git /var/lib/mock/dist-oc8-build-253460-84294/root/chroot_tmpdir/scmroot/libfastjson Cloning into '/var/lib/mock/dist-oc8-build-253460-84294/root/chroot_tmpdir/scmroot/libfastjson'... $ git fetch origin 0f7deef066abc89c83b54285d2eb653094728992:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libfastjson * [new ref] 0f7deef066abc89c83b54285d2eb653094728992 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0f7deef import libfastjson-0.99.9-2.tl3