$ git clone -n https://gitee.com/idolsama/hunspell.git /var/lib/mock/dist-an8.9-build-337205-69702/root/chroot_tmpdir/scmroot/hunspell Cloning into '/var/lib/mock/dist-an8.9-build-337205-69702/root/chroot_tmpdir/scmroot/hunspell'... $ git fetch origin 4b9d69ee83a96e36fa5a7fb0c7885146654404cb:KOJI_FETCH_HEAD From https://gitee.com/idolsama/hunspell * [new ref] 4b9d69ee83a96e36fa5a7fb0c7885146654404cb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4b9d69e build generates .zst instead of .gz