Skip to content

Instantly share code, notes, and snippets.

@xdg
Created February 19, 2016 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xdg/e357d6439cc278e5ff5b to your computer and use it in GitHub Desktop.
Save xdg/e357d6439cc278e5ff5b to your computer and use it in GitHub Desktop.
Shell function to smoke a git rebase
smoke-rebase ()
{
while true; do
( perl Makefile.PL && \
make realclean && \
perl Makefile.PL && \
) >&/dev/null \
&& make test \
&& git rebase --continue \
|| break
done }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment