Skip to content

Instantly share code, notes, and snippets.

@RichardBronosky
Created November 19, 2011 07:27
Show Gist options
  • Save RichardBronosky/1378591 to your computer and use it in GitHub Desktop.
Save RichardBronosky/1378591 to your computer and use it in GitHub Desktop.
How to flatten/squash a gist
git reset --soft $(/usr/local/bin/git log --format=%H | tail -1); git commit --amend --reset-author -m 'initial'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment