Skip Git commit hooks

前端 未结 3 1746
长情又很酷
长情又很酷 2020-11-27 08:55

I\'m looking at a git hook which looks for print statements in Python code. If a print statement is found, it prevents the git commit.

I want to override this hook

3条回答
  •  轮回少年
    2020-11-27 09:36

    For those very beginners who has spend few hours for this commit (with comment and no verify) with no further issue

    git commit -m "Some comments" --no-verify
    

提交回复
热议问题