Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #10 from maxhodak/master

`git co` doesn't exist via @maxhodak
  • Loading branch information...
commit 191f93088bf7ad36dc398aeaa5684a87a3605a11 2 parents 9781145 + ea7b85d
Kyle Maxwell authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/scala-bootstrapper
View
6 bin/scala-bootstrapper
@@ -68,7 +68,7 @@ if git
sys("echo 'Project #{project_name}' > README")
sys('git add .')
sys("git commit -m'first commit'")
- sys('git co -b scala-bootstrapper')
+ sys('git checkout -b scala-bootstrapper')
else
if `git ls-files -mdo` != ''
@@ -76,9 +76,9 @@ if git
end
$branch = `git branch`.grep(/^\*/).first.chomp.gsub(/^\* (.+)$/, '\1')
- if !system('git co scala-bootstrapper')
+ if !system('git checkout scala-bootstrapper')
$ex_post_facto = true
- sys('git co -b scala-bootstrapper')
+ sys('git checkout -b scala-bootstrapper')
# clean out any existing files on branch
sys('rm .git/index')
sys('git clean -fdx')
Please sign in to comment.
Something went wrong with that request. Please try again.