$ git clone -n https://gitee.com/src-opencloudos-rpms/lua-posix.git /var/lib/mock/dist-oc9-build-47191-14592/root/chroot_tmpdir/scmroot/lua-posix Cloning into '/var/lib/mock/dist-oc9-build-47191-14592/root/chroot_tmpdir/scmroot/lua-posix'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/lua-posix * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c461c73 import lua-posix-35.1-1.oc9