Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit 930f52b

Browse files
authored
Fix git clang-format options description
1 parent 2f74aa3 commit 930f52b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
Please use the [clang-format] (version 5.0 or higher recommended) tool to format your code _changes_ accordingly.
88
[git-clang-format] tool is useful to limit reformatting to your changes only:
99

10-
git clang-format # to reformat the changes in the working directory
10+
git clang-format # to reformat the changes in the staging area and put the result into working directory
11+
git clang-format -f # to reformat the changes in the working directory
1112
git clang-format <commit> # to reformat commits between specified commit and HEAD
1213

1314

0 commit comments

Comments
 (0)