Skip to content

Instantly share code, notes, and snippets.

@westonruter
Last active May 4, 2021 16:32
Show Gist options
  • Save westonruter/5625756 to your computer and use it in GitHub Desktop.
Save westonruter/5625756 to your computer and use it in GitHub Desktop.
Script to do squash-merges for GitHub pull requests. Automatically closes pull request once squashed commit us pushed to GitHub. Keeps commit history clean if a pull request has a lot of iterations. Best used with pull requests whose resulting changes are small so that a massive commit is produced.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment