Git pre-commit hook not running on windows

前端 未结 9 860
盖世英雄少女心
盖世英雄少女心 2021-01-31 08:15

I\'m just starting to look into Git hooks, but I can\'t seem to get them to run.

I set up a local repository, so there is now a \'.git\' directory in my project folder.

9条回答
  •  时光说笑
    2021-01-31 08:38

    For me i none of the above solution worked. I moved the pre-commit file from hooks to some other location, effectively deleting the file from hooks.

    That Worked for me :D

提交回复
热议问题