$ git clone -n http://git.inferitos.ru/rpms/ghc-srpm-macros /var/lib/mock/inferit-10_0-extras-build-101591-188535/root/chroot_tmpdir/scmroot/ghc-srpm-macros Cloning into '/var/lib/mock/inferit-10_0-extras-build-101591-188535/root/chroot_tmpdir/scmroot/ghc-srpm-macros'... $ git fetch origin changed/i10ce/ghc-srpm-macros-1.9.1-1.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 454e71f6cdf1636e40f7feb22a414f9f9cd0b027 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/ghc-srpm-macros ! [new tag] changed/i10ce/ghc-srpm-macros-1.9.1-1.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/ghc-srpm-macros-1.9.1-1.el10 HEAD is now at 6c4b9a0 import ghc-srpm-macros-1.9.1-1.el10