/git-catch-up

Rebase your local branch by upstream.

Primary LanguageGroff

NAME

git-catch-up

SYNOPSIS

For example, current branch name is "proto" and remote repository name is "upstream".
This command performs the following processings in order. 

git stash
git checkout master
git pull upstream master
git checkout proto
git rebase master proto
git stash pop

USAGE

* First, copy this script to under git-core directory.

git catch-up [option] [remote_repository_name]
    -v, --verbose   be verbose