##GitHubとHerokuに両対応させるには
-
herokuでapp:create
$ heroku apps:create p120902-jishiha-search Creating p120905-rss-process-test... done, stack is cedar http://p120905-rss-process-test.herokuapp.com/ | [email protected]:p120905-rss-process-test.git -
$ git clone https://github.com/weed/p120902-jishiha-search.git -
作業
-
$ git push heroku master -
※ここでうまくいかないときは.git/configの
[remote "origin"]を[remote "heroku"]に直したりすると、うまくいく -
GitHubで空のレポジトリをつくる
-
.git/configに以下の記述を追加する
[remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = https://github.com/weed/p120902-jishiha-search.git -
GitHub for Macで[repository]->[synclonize]で完了