Skip to content

Instantly share code, notes, and snippets.

@jhrr
Last active October 7, 2019 09:44
Show Gist options
  • Save jhrr/a55886dbccfc39ae7d5f04b993b6aeec to your computer and use it in GitHub Desktop.
Save jhrr/a55886dbccfc39ae7d5f04b993b6aeec to your computer and use it in GitHub Desktop.
$ PATH=$(npm bin):$PATH; git diff-tree --no-commit-id --name-only -r HEAD | xargs prettier --write
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment