Last active
December 21, 2022 06:08
-
-
Save memolog/4cecb202aa8fc79e395c5858785755d7 to your computer and use it in GitHub Desktop.
Format changed files in git with prettier
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
git diff --name-only HEAD | xargs -I$0 npx prettier --write $0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment