Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions book/05-distributed-git/sections/contributing.asc
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ The Git project provides a document that lays out a number of good tips for crea
First, you don't want to submit any whitespace errors.
Git provides an easy way to check for this – before you commit, run `git diff --check`, which identifies possible whitespace errors and lists them for you.

.Output of `git diff -check`.
image::images/git-diff-check.png[Output of `git diff -check`.]
.Output of `git diff --check`.
image::images/git-diff-check.png[Output of `git diff --check`.]

If you run that command before committing, you can tell if you're about to commit whitespace issues that may annoy other developers.

Expand Down