Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Push each commit on the branch on its own so CI builds each one by one
branch=$(git branch --show-current)
for sha1 in $(git rev-list --reverse ...master) ; do
git push origin $sha1:$branch --force

This comment has been minimized.

Copy link
Owner Author

@IanVaughan IanVaughan commented Aug 6, 2020

chmod +x git-push-all 
mv git-push-all  <to in your path>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment