Skip to content

Instantly share code, notes, and snippets.

@devxoul
Last active February 26, 2021 07:34
Show Gist options
  • Save devxoul/00b5b4fac4243075656dc79912e256d6 to your computer and use it in GitHub Desktop.
Save devxoul/00b5b4fac4243075656dc79912e256d6 to your computer and use it in GitHub Desktop.
$ git reorder HEAD~3
# https://gist.github.com/devxoul/00b5b4fac4243075656dc79912e256d6
git rebase --exec 'git commit --amend -C HEAD --date="$(date -R)" && sleep 1.05' $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment