Skip to content

Commit 9b9eb68

Browse files
committed
docs: add git config items to docs
1 parent 99298b5 commit 9b9eb68

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CONTRIBUTING.md

+6
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ When making changes to the firmware:
3434
- Consider if your feature aligns with the [InfiniTime vision](doc/InfiniTimeVision.md)
3535
- Test your changes on a PineTime or InfiniSim
3636
- Make sure the code conforms to the [coding conventions](doc/coding-convention.md)
37+
- Configure Git to automatically fix whitespace issues:
38+
39+
```sh
40+
git config set core.whitespace trailing-space,space-before-tab
41+
git config set apply.whitespace fix
42+
```
3743

3844
You can also check the [maintainer's guide](doc/maintainer-guide.md)
3945
for what maintainers will look at in PRs.

0 commit comments

Comments
 (0)