Top "Diff" questions

The act of identifying differences between two or more files in order to support various software development activities (bug tracking, patch creation, ...)

diff to output only the file names

I'm looking to run a Linux command that will recursively compare two directories and output only the file names of …

linux command-line diff
How to colorize diff on the command line?

When I have a diff, how can I colorize it so that it looks good? I want it for the …

unix command-line colors diff
Create patch or diff file from git repository and apply it to another different git repository

I work on WordPress based project and I want to patch my project at each new release version of WP. …

git diff patch git-diff git-apply
How do I create a readable diff of two spreadsheets using git diff?

We have a lot of spreadsheets (xls) in our source code repository. These are usually edited with gnumeric or openoffice.…

git version-control merge diff xls
Fast way of finding lines in one file that are not in another?

I have two large files (sets of filenames). Roughly 30.000 lines in each file. I am trying to find a fast …

bash grep find diff
Git diff -w ignore whitespace only at start & end of lines

I love to use git diff -w to ignore whitespace differences. But, I just noticed that it ignores even whitespace …

git diff whitespace ignore
Can I use git diff on untracked files?

Is it possible to ask git diff to include untracked files in its diff output, or is my best bet …

git diff
Python - difference between two strings

I'd like to store a lot of words in a list. Many of these words are very similar. For example …

python string python-3.x diff
How do I exit the results of 'git diff' in Git Bash on windows?

I'm using Git Bash on Windows 7. When I run git diff, I see this: However, I'm unable to get back …

git diff msysgit
How do I output the difference between two specific revisions in Subversion?

I'm using Subversion via the Linux command line interface. I want to see the difference between revision 11390 and 8979 of a …

svn diff