$ git clone -n https://src.koozali.org/smeserver/qmail.git /var/lib/mock/dist-sme11-os-build-162-15039/root/chroot_tmpdir/scmroot/qmail Cloning into '/var/lib/mock/dist-sme11-os-build-162-15039/root/chroot_tmpdir/scmroot/qmail'... $ git fetch origin 1.03:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object aeda4ff910127930b33e1be8c56c0cb498db2e29 to branch 'refs/heads/KOJI_FETCH_HEAD' From https://src.koozali.org/smeserver/qmail ! [new tag] 1.03 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard 1.03 HEAD is now at 645c7ee initial commit of file from CVS for qmail on Fri 14 Jul 16:15:22 BST 2023 $ git clone https://src.koozali.org/smeserver/common.git common Cloning into 'common'...