Skip to content

Commit

Permalink
Merge pull request #1567 from derrickstolee/whitespace
Browse files Browse the repository at this point in the history
CONTRIBUTING.md: check for whitespace before submitting
  • Loading branch information
dscho committed Apr 2, 2018
2 parents 39c34f4 + 1916177 commit e7621d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ Here are some other tips that we use when cleaning up our commits:
* Make sure the commits are signed off using `git commit (-s|--signoff)`. See
[SubmittingPatches](https://github.com/git/git/blob/v2.8.1/Documentation/SubmittingPatches#L234-L286)
for more details about what this sign-off means.
* Check for whitespace errors using `git diff --check [base]...HEAD` or `git log --check`.
* Run `git rebase --whitespace=fix` to correct upstream issues with whitespace.
* Become familiar with interactive rebase (`git rebase -i`) because you will be reordering,
squashing, and editing commits as your patch or series of patches is reviewed.
Expand Down

1 comment on commit e7621d8

@18754797228
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

很不错,很牛🐮!

Please sign in to comment.