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, ...)

How to see the changes in a Git commit?

When I do git diff COMMIT I see the changes between that commit and HEAD (as far as I know), …

git version-control diff git-diff
How do I show the changes which have been staged?

I staged a few changes to be committed; how can I see the diff of all files which are staged …

git diff dvcs git-diff git-stage
How to see the changes between two commits without commits in-between?

How do you make git diff only show the difference between two commits, excluding the other commits in-between?

git diff
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 …

compare sublimetext2 diff sublimetext sublime-text-plugin
Given two directory trees, how can I find out which files differ by content?

If I want find the differences between two directory trees, I usually just execute: diff -r dir1/ dir2/ This outputs …

linux bash shell unix diff
How do I view 'git diff' output with my preferred diff tool/ viewer?

When I type git diff, I want to view the output with my visual diff tool of choice (SourceGear "diffmerge" …

git diff difftool git-difftool diffmerge
How to grep (search) committed code in the Git history

I have deleted a file or some code in a file sometime in the past. Can I grep in the …

git grep diff
Find the files existing in one directory but not in the other

I'm trying to find the files existing in one directory but not in the other, I tried to use this …

linux bash diff
What is the Windows equivalent of the diff command?

I know that there is a post similar to this : here. I tried using the comp command like it mentioned, …

windows cmd diff
Compare two MySQL databases

I'm currently developing an application using a MySQL database. The database-structure is still in flux and changes while development progresses (…

mysql database diff