keith / git-pile

Stacked diff support for GitHub workflows
MIT License
146 stars 11 forks source link

Add git-replacepr #39

Closed keith closed 7 months ago

keith commented 1 year ago

This script can be used to entirely replace the contents of the underlying branch with a new commit. This is useful if you've been iterating on a PR, but then either want to squash it, or you for some reason changed things on the main branch without mirroring those on the remote branch.