observing / pre-commit

Automatically installs a git pre-commit script in your git repository which runs your `npm test` on pre-commit
MIT License
1.88k stars 153 forks source link

windows system use sourcetree Or smartGit commit messy code #123

Open lynshir opened 6 years ago

lynshir commented 6 years ago

This is what I get from sourcetree (working as intended!),There's no problem with the MAC. I don't know how to fix it.

git -c diff.mnemonicprefix=false -c core.quotepath=false commit -q -F C:\Users\lynsh\AppData\Local\Temp\2h4osxci.03l '.' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ���������ļ���

pre-commit: pre-commit: We've failed to pass the specified git pre-commit hooks as the lint pre-commit: hook returned an exit code (1). If you're feeling adventurous you can pre-commit: skip the git pre-commit hooks by adding the following flags to your commit: pre-commit: pre-commit: git commit -n (or --no-verify) pre-commit: pre-commit: This is ill-advised since the commit is broken. pre-commit: