On Wed, May 08, 2013 at 11:24:56AM +0100, Robin Messer wrote:
> I'm just learning Git so I don't yet know how to submit this
> as a patch, but I'm reading the Git Book to get myself started
> and I think there is a mistake on the page at:
> 
> http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository
> 
> It says: "For another example, if you stage the benchmarks.rb file and
> then edit it, you can use git diff to see the changes in the file that
> are staged and the changes that are unstaged:"
> 
> I believe this should say "git status" rather than "git diff".

I think the text is correct as it stands.  "git status" shows you that
there are changes that are staged and unstaged, "git diff" (and "git
diff --cached") shows you what those changes are.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to