git-catch-up
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
* First, copy this script to under git-core directory.
git catch-up [option] [remote_repository_name]
-v, --verbose be verbose