Bash: Fix git-upstream checkout.

This commit is contained in:
Artem Sapegin 2012-12-06 17:51:26 +04:00
parent c90b29c8af
commit fc05e9b67e

View File

@ -165,7 +165,7 @@ function git-fork() {
function git-upstream() { function git-upstream() {
branch=${1-master} branch=${1-master}
git fetch upstream git fetch upstream
git co origin $branch git checkout $branch
git merge upstream/$branch git merge upstream/$branch
} }