$ git clone -n https://gitee.com/src-opencloudos-rpms/nginx /var/lib/mock/module-nginx-1.24-8100020261120065656-2a16b704-build-257402-84722/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/module-nginx-1.24-8100020261120065656-2a16b704-build-257402-84722/root/chroot_tmpdir/scmroot/nginx'... $ git fetch origin a54366ad8f9474f52515d36fdb744a3ee3327186:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/nginx * [new ref] a54366ad8f9474f52515d36fdb744a3ee3327186 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a54366a import nginx-1.24.0-3.module+el8.10.0+1012+cf985d3a.6.ap.2