我正在通过八压机部署到 heroku
http://octopress.org/docs/deploying/heroku/
我做到了
git config branch.master.remote heroku
不了解其含义
其
# Set heroku to be the default remote for push/fetch
我试过了
git remote rm origin
但远程存储库不会被删除。如何删除默认情况下设置的存储库?
只需将其设置回origin
:
$ git config branch.master.remote origin
尝试git config --unset branch.master.remote
这应该只取消设置git config branch.master.remote heroku
命令而不更改任何其他内容。
如果您想将其指向其他地方,请参阅@YuvalAdam答案。