$ git clone -n https://gitee.com/mapicccy/openresty.git /var/lib/mock/dist-an8.8-build-297406-65832/root/chroot_tmpdir/scmroot/openresty Cloning into '/var/lib/mock/dist-an8.8-build-297406-65832/root/chroot_tmpdir/scmroot/openresty'... $ git fetch origin bb6e681444ec84837fba75d46d6a2b3fcc0b69cf:KOJI_FETCH_HEAD From https://gitee.com/mapicccy/openresty * [new ref] bb6e681444ec84837fba75d46d6a2b3fcc0b69cf -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bb6e681 README: update openresty documents