Today I Learned Notes to self about software development

    Skip Git Commit Hooks

    Occasionally I find myself in situations where I want to make a commit, but I don’t want git commit hooks to run because it will format the code and I don’t want it to.

    (I plan to eventually format the code, but sometimes, especially when the commit is a work in progress, I don’t want to format anything since I haven’t solidified what I want to do yet)

    The easiest way to do this is to use the --no-verify flag.

    git commit -m "WIP" --no-verify
    

    Soure

    #git