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