how to clean up file from git merge
===

Through stupidity, the only version of a big file is from trying to merge, i.e. it contains lots of lines like 

    <<<<<<< HEAD 		double[] p1 = ...
                        double[] p2 = ...
    ======= 		double[] p1 = ...
            		double[] p2 = ...
    >>>>>>> origin/foo

How do I get rid of these, without having to edit each one, always choosing HEAD?

