Closed ramnathv closed 11 years ago
Ah, my instructions in the README assumed the typical setup where you have an upstream git remote called "origin" (often on Github) where the code lives, and then a separate remote called "heroku". It looks like your repo has the "master" branch linked to the heroku remote, which is slightly nonstandard but probably fine for an experiment like this. For reference, here's my app repo's .git/config:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = false
[remote "origin"]
url = git@github.com:btubbs/shiny-example-1.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "heroku"]
url = git@heroku.com:shiny-example-1.git
fetch = +refs/heads/*:refs/remotes/heroku/*
I'm glad it worked for you!
It works perfect. I just deployed a Shiny App to Heroku
http://myshinyapp1.herokuapp.com/
When I tried using
git push heroku
, I get an error message that the branch is not specified. I triedgit push heroku master
and it works. I am not sure if mine is an isolated case, but thought it would be useful to bring to your attention.