Created
May 22, 2023 22:32
-
-
Save rotu/6713b125f333c4c3047e0680a64eb069 to your computer and use it in GitHub Desktop.
prettier multiple files
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
# list files changed by git (Added or Modified) and tidy them up in prettier | |
# xargs is a linux thing, but on Windows, can use Gow to get it. | |
git diff --name-only --diff-filter=AM | xargs -n99 prettier -uw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment