$ git clone -n http://git.inferitos.ru/rpms/java-comment-preprocessor /var/lib/mock/inferit-8_8-bootstrap-build-35523-72609/root/chroot_tmpdir/scmroot/java-comment-preprocessor Cloning into '/var/lib/mock/inferit-8_8-bootstrap-build-35523-72609/root/chroot_tmpdir/scmroot/java-comment-preprocessor'... $ git fetch origin changed/i8c/java-comment-preprocessor-6.0.1-9.el8:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object df3c1e0a5eba4ce6142bceeeb82063fdee856774 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/java-comment-preprocessor ! [new tag] changed/i8c/java-comment-preprocessor-6.0.1-9.el8 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i8c/java-comment-preprocessor-6.0.1-9.el8 HEAD is now at 8b5e690 import java-comment-preprocessor-6.0.1-9.el8