Comparing the contents of two files in Sublime Text

I have two cloned repositories of two very similar open-source projects, which I have been working on in different instances in Sublime Text 2 to arrive at my desired result. Code from both of these projects was used. I have been using Git as version control for my project, but have not included the original … Read more

git-diff to ignore ^M

In a project where some of the files contains ^M as newline separators. Diffing these files are apparently impossible, since git-diff sees it as the entire file is just a single line. How does one diff with the previous version? Is there an option like “treat ^M as newline when diffing” ? prompt> git-diff “HEAD^” … Read more

Given two directory trees, how can I find out which files differ by content? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 12 months ago. Improve this question If I want find the differences between two directory trees, I usually just execute: diff -r dir1/ dir2/ This … Read more