Skip to content

Commit

Permalink
Add comments to .gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Dec 3, 2023
1 parent eec1a7b commit 75afa43
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# To set up clang-format filter:
# git config --global filter.clang-format.clean clang-format
# git config --global filter.clang-format.smudge cat
#--------------------------------------------------------------------------------
# Configure clean and smudge filters to apply when checking code in and out
# of git respectively.
#
# To use these rules, the clang-format filter must be first be set up adding
# to .gitconfig:
#
# git config --global filter.clang-format.clean clang-format
# git config --global filter.clang-format.smudge cat
#--------------------------------------------------------------------------------
*.cpp filter=clang-format
*.h filter=clang-format

0 comments on commit 75afa43

Please sign in to comment.