79464057

Date: 2025-02-24 15:27:12
Score: 0.5
Natty:
Report link

When reordering commits, shortcut to set timestamp to the timestamp of the previous commit is handy. Also, this is powershell and can be binded to GUI tool one-click command:
powershell "$prevCommitDate = git log -2 --format=%ci | Select-Object -Last 1;$env:GIT_COMMITTER_DATE = $prevCommitDate; git commit --amend --no-edit --date $prevCommitDate"

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: halt9k