Answer the question
In order to leave comments, you need to log in
diff in bitbucket not displaying correctly. How to fix?
After uploading the updated file, the bibucket for some reason glues all the lines into one and because of this it is impossible to see the diff. Who faced, it is possible to correct it? Same on github
Answer the question
In order to leave comments, you need to log in
diff is taken line by line. The problem is that lines are misrecognised because line breaks are denoted differently in different commits.
Detailed information and how to treat is easy to google.
In short, change git config --global core.autocrlf
PS here on the toaster there is a similar topic: How to solve the problem with Git + phpStorm line endings?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question