tortoisegit - Git messed up my files after push -


i'm sure fault after push, of files @ destination repositories contain 2 copies of themselves. looks like:

<<<<<<< head  code goes here  ======  same code again  /* end of file config.php */ /* location: ./application/config/config.php */ >>>>>>> 6962176130afe295144f1f6a27146da27b604762 

and every file on site. trying push doesn't resolve problem. think there problem of files had differences because windows machine wasn't appending new line @ end or something. how resolve this?

edit: should mention did 1000 (or so) files. majority of these files not edited @ , not part of commit. did literally every file. cannot think of why , of answers far telling me manually edit 1000 files, not reasonable solution. doing push didn't work either, nothing happens.

to knowledge, push shouldn't commit changes when there merge conflicts until you've resolved them, should able undo changes on destination repo using git reset --hard.

to ensure doesn't happen again, take @ page: https://help.github.com/articles/dealing-with-line-endings

hope helps!


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -