Skip to content
Browse files

co -> checkout

  • Loading branch information...
1 parent de8a137 commit 307005fd75eb3ad174a2b2095805b9ec4ecb5af2 @kintel kintel committed Jan 20, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 run-from-git.sh
View
4 run-from-git.sh
@@ -12,9 +12,9 @@ fi
cd `dirname $0`
git fetch upstream # Get all remote changes
-git co $branch # Switch to local branch if it exists
+git checkout $branch # Switch to local branch if it exists
if [ $? -ne 0 ]; then # ..else get branch from upstream
- git co -b $branch upstream/$branch
+ git checkout -b $branch upstream/$branch
fi
if [ $? -eq 0 ]; then
git merge upstream/$branch # Only merge if nothing went wrong

0 comments on commit 307005f

Please sign in to comment.
Something went wrong with that request. Please try again.