[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New Git hooks for checking file names in commit messages
From: |
Björn Bidar |
Subject: |
Re: New Git hooks for checking file names in commit messages |
Date: |
Sun, 23 Apr 2023 12:47:45 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Dmitry Gutov <dmitry@gutov.dev> writes:
> On 21/04/2023 18:05, Eli Zaretskii wrote:
>> It is still helpful, because as long as you didn't push, you can
>> still
>> do
>> $ git reset HEAD^
>> and then fix whatever needs fixing and commit again.
>
> When only the commit message is problematic,
>
> git commit --amend
>
> is usually a more ergonomic choice.
Also you can use -n, --[no-]verify to disable hooks also whileusing git
commit, see man 1 git-commit.
By default, the pre-commit and commit-msg hooks are run. When any
of --no-verify or -n is given, these are bypassed. See also
githooks(5).
- Re: New Git hooks for checking file names in commit messages, (continued)
- Re: New Git hooks for checking file names in commit messages, Eli Zaretskii, 2023/04/22
- Re: New Git hooks for checking file names in commit messages, Jim Porter, 2023/04/22
- Re: New Git hooks for checking file names in commit messages, Eli Zaretskii, 2023/04/23
- Re: New Git hooks for checking file names in commit messages, Jim Porter, 2023/04/23
- Re: New Git hooks for checking file names in commit messages, Eli Zaretskii, 2023/04/23
- Re: New Git hooks for checking file names in commit messages, Jim Porter, 2023/04/23
- Re: New Git hooks for checking file names in commit messages, Eli Zaretskii, 2023/04/23
- Re: New Git hooks for checking file names in commit messages, Björn Bidar, 2023/04/23
- Re: New Git hooks for checking file names in commit messages, Dmitry Gutov, 2023/04/22
- Re: New Git hooks for checking file names in commit messages, Eli Zaretskii, 2023/04/23
- Re: New Git hooks for checking file names in commit messages,
Björn Bidar <=
Re: New Git hooks for checking file names in commit messages, Jim Porter, 2023/04/21