usmanyunusov / nano-staged

Tiny tool to run commands for modified, staged, and committed files in a GIT repository.
https://npm.im/nano-staged
MIT License
468 stars 14 forks source link

Improve docs #6

Open usmanyunusov opened 2 years ago

usmanyunusov commented 2 years ago

Help improved the documentation :)

Grawl commented 2 years ago

After set up I has to run npx simple-git-hooks on my other computer to add .git/hooks/pre-commit file. To automate this (across project team for example), I added post-install script: "postinstall": "simple-git-hooks". Maybe we has to add this trick to docs.

usmanyunusov commented 2 years ago

@Grawl Agree. I was just thinking about it today.