Skip to content

Commit

Permalink
doc: correct git fix whitespace command
Browse files Browse the repository at this point in the history
Use apply.whitespace=fix rather than core.whitespace=fix

Ref: nodejs/node#11412
PR-URL: nodejs/node#12445
Reviewed-By: Gibson Fahnestock <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
matkoniecz authored and andrew749 committed Jul 19, 2017
1 parent 243b242 commit dddb946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/onboarding.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ onboarding session.
## Local setup

* git:
* make sure you have whitespace=fix: `git config --global --add core.whitespace fix`
* make sure you have whitespace=fix: `git config --global --add apply.whitespace fix`
* usually PR from your own github fork
* [See "Updating Node.js from Upstream"](./onboarding-extras.md#updating-nodejs-from-upstream)
* make new branches for all commits you make!
Expand Down

0 comments on commit dddb946

Please sign in to comment.