$ git clone -n https://gitee.com/src-opencloudos-rpms/lua-json.git /var/lib/mock/dist-oc9-build-50498-14595/root/chroot_tmpdir/scmroot/lua-json Cloning into '/var/lib/mock/dist-oc9-build-50498-14595/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 fabd776 import lua-json-1.3.4-3.tl4