Skip to content

Instantly share code, notes, and snippets.

View brennemankyle's full-sized avatar

brennemankyle

View GitHub Profile
# 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 ! $@