$ git clone -n https://gitee.com/src-opencloudos-rpms/lua-json.git /var/lib/mock/dist-oc9-build-70704-47462/root/chroot_tmpdir/scmroot/lua-json Cloning into '/var/lib/mock/dist-oc9-build-70704-47462/root/chroot_tmpdir/scmroot/lua-json'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/lua-json * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 27c6a2a import lua-json-1.3.4-4.tl4