Created
August 6, 2020 14:53
-
-
Save IanVaughan/21f72bdfc6cdfb71bbb741e82d94dc43 to your computer and use it in GitHub Desktop.
Push each commit on the branch on its own so CI builds each one by one
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
branch=$(git branch --show-current) | |
for sha1 in $(git rev-list --reverse ...master) ; do | |
git push origin $sha1:$branch --force | |
done |
Author
IanVaughan
commented
Aug 6, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment