Last active
February 18, 2018 09:42
-
-
Save Ortham/d55e58c61c2191295b11bf19c99db202 to your computer and use it in GitHub Desktop.
clang-format everything in Git source control
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clang-format -style=file -i $(git ls-files *.cpp *.h) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
clang-format -style=file -i $(git ls-files *.cpp *.h) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment