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
# Have you ever had multiple branches stacked on top of each other waiting for code review | |
# and need to merge origin/master (or some other change) up the chain through each of them. | |
# This script will do that! | |
# Example: merge_through_each master branch_parent branch_child branch_grand_child | |
run_command () { | |
echo "" | |
echo "running: $@" | |
if ! $@ |