# File lib/heroku/helpers.rb, line 155 def create_git_remote(app, remote) return unless has_git? return if git('remote').split("\n").include?(remote) return unless File.exists?(".git") git "remote add #{remote} git@#{heroku.host}:#{app}.git" display "Git remote #{remote} added" end