You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You don't have to actually change the commit message to get a new commit hash as the commit date is part of the hash calculation.
Therefore it is sufficient to run git commit --amend --no-edit to get a new hash!
The text was updated successfully, but these errors were encountered:
You don't have to actually change the commit message to get a new commit hash as the commit date is part of the hash calculation.
Therefore it is sufficient to run
git commit --amend --no-edit
to get a new hash!The text was updated successfully, but these errors were encountered: