Situation:
I have Git 1.9.5.github.0 installed on Windows 7. I currently have a version of a file in each or three areas (repository, staging index, and working directory). All three versions of the file are different in that each has more lines of text than the older.
Problem:
When I type in the commands git diff, git diff --cached first_file.txt, or git diff HEAD; the response displays that it detects differences but it doesn't show these differences. ----(see code below)
Z:\myFirstGit [master +0 ~1 -0]> git status
On branch master
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: first_file.txt
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: first_file.txt
Z:\myFirstGit [master +0 ~1 -0 | +0 ~1 -0]> git diff
diff --git a/first_file.txt b/first_file.txt
index 2b6f7c0..0090cbf 100644
Binary files a/first_file.txt and b/first_file.txt differ
Z:\myFirstGit [master +0 ~1 -0 | +0 ~1 -0]> git diff head
diff --git a/first_file.txt b/first_file.txt
index e1a914a..0090cbf 100644
Binary files a/first_file.txt and b/first_file.txt differ
Z:\myFirstGit [master +0 ~1 -0 | +0 ~1 -0]> git diff --cached first_file.txt
diff --git a/first_file.txt b/first_file.txt
index e1a914a..2b6f7c0 100644
Binary files a/first_file.txt and b/first_file.txt differ
I was expecting something like:
> git diff
diff --git a/first_file.txt b/first_file.txt
index e1a914a..0090cbf 100644
--- a/first_file.txt
+++ b/first_file.txt
@@ -1 +1,2 @@
This is the first_file test.
+One more line.
Question:
Why am I getting the response "Binary files a/first_file.txt b/first_file.txt differ" and not an explicit display of the differnces?