Skip to content

Instantly share code, notes, and snippets.

@findepi
Last active August 6, 2021 20:53
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save findepi/7abf17c8a26d3b74e8bb9527caadfdbe to your computer and use it in GitHub Desktop.
Save findepi/7abf17c8a26d3b74e8bb9527caadfdbe to your computer and use it in GitHub Desktop.
sort commits for GitHub's sake
git rebase "$(git merge-base HEAD master)" -x 'git commit --amend -C HEAD --date="$(date -R)" && sleep 1.05'
@findepi
Copy link
Author

findepi commented Jun 14, 2017

This is workaround for isaacs/github#386

@kokosing
Copy link

Thanks! You saved my day :)

@nikicc
Copy link

nikicc commented May 14, 2018

Works like a charm! Thanks 👏

@ilfrin
Copy link

ilfrin commented Jul 17, 2018

awesome :)

@phd3
Copy link

phd3 commented Dec 23, 2019

Thanks @findepi ! 👏 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment