Skip to content

Instantly share code, notes, and snippets.

Marcos Mellado mmellado

View GitHub Profile
@mmellado
mmellado / gsync.sh
Last active May 11, 2017
Sync your forks
View gsync.sh
function gsync {
# Before using this script, make sure to add upstream to your local repository
# git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
BRANCH="master"
if [ $# -eq 1 ]
then
BRANCH="$1"
fi
You can’t perform that action at this time.