Skip to content

Instantly share code, notes, and snippets.

@devxoul
Last active February 26, 2021 07:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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