$ git clone -n https://gitee.com/guost123/zip.git /var/lib/mock/dist-an23-build-479542-74220/root/chroot_tmpdir/scmroot/zip Cloning into '/var/lib/mock/dist-an23-build-479542-74220/root/chroot_tmpdir/scmroot/zip'... $ git fetch origin c7f67d4f4ccd0688b4a33701b23bae2bde01e4f9:KOJI_FETCH_HEAD From https://gitee.com/guost123/zip * [new ref] c7f67d4f4ccd0688b4a33701b23bae2bde01e4f9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c7f67d4 fix build error with gcc14