$ git clone -n https://src.koozali.org/smeserver/perl-File-Flat.git /var/lib/mock/dist-sme11-os-build-32-14878/root/chroot_tmpdir/scmroot/perl-File-Flat Cloning into '/var/lib/mock/dist-sme11-os-build-32-14878/root/chroot_tmpdir/scmroot/perl-File-Flat'... $ git fetch origin 1.07-1:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object b81180b86fcf454c0181bbd32b71b2077eb98678 to branch 'refs/heads/KOJI_FETCH_HEAD' From https://src.koozali.org/smeserver/perl-File-Flat ! [new tag] 1.07-1 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard 1.07-1 HEAD is now at 6e08917 first commit $ git clone https://src.koozali.org/smeserver/common.git common Cloning into 'common'...