$ git clone -n https://gitee.com/src-opencloudos-rpms/nginx.git /var/lib/mock/dist-oc9-build-100988-65326/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/dist-oc9-build-100988-65326/root/chroot_tmpdir/scmroot/nginx'... $ git fetch origin 300d098446bc9b4d61e60d33b04211247b0c0204:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/nginx * [new ref] 300d098446bc9b4d61e60d33b04211247b0c0204 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 300d098 import nginx-1.25.4-3.tl4.ap.1