lib/mortar/command/projects.rb in mortar-0.15.4 vs lib/mortar/command/projects.rb in mortar-0.15.5
- old
+ new
@@ -227,10 +227,10 @@
error("Currently in git repo. You can not fork a new project inside of an existing git repository.")
end
end
is_public = options[:public]
ask_public(is_public)
- git.clone(git_url, name, "base")
+ git.clone(git_url, name, git.fork_base_remote_name)
Dir.chdir(name)
# register a nil project id because it hasn't been created yet
register_project(name, is_public, nil) do |project_result|
git.remote_add("mortar", project_result['git_url'])
git.push_master