当提示

hint: The '.git/hooks/pre-commit' hook was ignored because it's not set as executable.
hint: You can disable this warning with `git config advice.ignoredHook false`.

是因为钩子文件没有运行权限,根据情况赋予钩子文件执行权限即可,例如:

chmod 700 .git/hooks/pre-commit

电脑端非常需要二维码识别,每次遇到二维码都需要找手机解锁,再唤起 app 来识别,实在麻烦。

其实,用截图工具(比如微信的)就能简单的植入一个二维码识别工具。哪怕初期只能打开个网页什么的呢。