observing/pre-commit

windows system use sourcetree Or smartGit commit messy code

Opened this issue · 0 comments

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: