$ git clone -n https://gitee.com/mgb01105731/nginx.git /var/lib/mock/dist-an23-build-354160-71027/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/dist-an23-build-354160-71027/root/chroot_tmpdir/scmroot/nginx'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/nginx * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0089307 update to 1.25.4