Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Waqas Hamid waqashamid

🎯
Focusing
Block or report user

Report or block waqashamid

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@waqashamid
waqashamid / merge
Created May 17, 2018 — forked from tmiller/merge
Bash script to merge master into all branches
View merge
#!/bin/bash
# Merges the master branch into all other branches
#
# Process:
#
# - Save the name of the current branch
# - If the current branch is not master then checkout master.
# - Pull the latest changes for master from its upstream branch.
# - Loop over each local branch.
You can’t perform that action at this time.