Skip to content

Instantly share code, notes, and snippets.

@upinetree
Created November 17, 2023 00:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save upinetree/835698c064d36d425293479e208beafe to your computer and use it in GitHub Desktop.
Save upinetree/835698c064d36d425293479e208beafe to your computer and use it in GitHub Desktop.
git diff master --name-only --diff-filter=ACMR "*.rb" | sed 's| |\\ |g' | xargs ./node_modules/.bin/prettier --write
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment