我在bitbucket上有一个仓库。我把它做:如何让本地heroku存储库与远程存储库保持同步?
git push -u origin master
在此页面:https://devcenter.heroku.com/articles/getting-started-with-nodejs#prepare-the-app
建议运行命令:
git clone https://github.com/heroku/node-js-getting-started.git
但是,如果一个人有克隆库的话,好像真的很乏味。因为每次远程存储库发生更改时,都需要克隆远程存储库,并将其推送到heroku。
我误解了说明书的内容吗? 然后在“推本地修改”它说做:
git push heroku master
这应该推动本地修改的Heroku,主分支下。 但这是否意味着要推到我的到位桶远程仓库我只需要做:
git push -u origin master ?
所以这样我可以推到双方的Heroku和到位桶只使用这两个命令?这很简单吗?