|
From: | Dmitry Gutov |
Subject: | Re: New Git hooks for checking file names in commit messages |
Date: | Sun, 23 Apr 2023 02:55:14 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |