$ git clone -n https://gitee.com/happy_orange/openresty.git /var/lib/mock/dist-an8.8-kernel-5.10-build-338607-69758/root/chroot_tmpdir/scmroot/openresty Cloning into '/var/lib/mock/dist-an8.8-kernel-5.10-build-338607-69758/root/chroot_tmpdir/scmroot/openresty'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/openresty * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 488f881 init package