【发布时间】:2015-07-31 01:44:42
【问题描述】:
如何编辑我的.git/config 文件?
显然,我的heroku 遥控器设置为heroku 以外的其他值;结果,我无法在 Heroku 上正确部署我的 Rails 应用程序。但是,我找不到如何对其进行编辑以将其设置为正确的内容。
在哪里可以找到配置文件?我在我的存储库或我的 Git 文件夹安装中找不到以这种方式命名的文件。我应该在哪里搜索它,我可以编辑它吗?
$ git remote -v
heroku https://git.heroku.com/pure-plateau-4958.git (fetch)
heroku https://git.heroku.com/pure-plateau-4958.git (push)
origin git@github.com:vike27/sciencevest100.git (fetch)
origin git@github.com:vike27/sciencevest100.git (push)
但是 heroku open 不起作用,heroku 支持人员说这是因为我的 .git/config 文件中之前提到的错误
我在 Windows8 上
【问题讨论】:
-
你运行的是什么操作系统?
-
您运行推送到
heroku远程的确切命令是什么,您收到什么错误消息? -
git push heroku 大师作品。不起作用的东西是heroku open。
-
@coderwannabe2 “不起作用”信息太少。编辑您的问题并添加该
heroku open错误的确切消息。
标签: windows git heroku git-remote