From fc05e9b67e18c8ad09008bf34f3080beb8657c03 Mon Sep 17 00:00:00 2001 From: Artem Sapegin Date: Thu, 6 Dec 2012 17:51:26 +0400 Subject: [PATCH] Bash: Fix git-upstream checkout. --- includes/bash_functions.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/bash_functions.bash b/includes/bash_functions.bash index 880244b..c694818 100644 --- a/includes/bash_functions.bash +++ b/includes/bash_functions.bash @@ -165,7 +165,7 @@ function git-fork() { function git-upstream() { branch=${1-master} git fetch upstream - git co origin $branch + git checkout $branch git merge upstream/$branch }