如何编辑我的 .git/config 文件?

cod*_*be2 5 windows git heroku git-remote

如何编辑我的.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)
Run Code Online (Sandbox Code Playgroud)

但是 heroku open 不起作用,heroku 支持说这是因为我的 .git/config 文件中先前提到的错误

我在 Windows8

Nou*_*him 5

您的遥控器通常在本地配置文件中设置。
该文件可以在此处找到编辑完成:.git/config
您可以直接编辑它或使用git config配置来设置/获取其中的条目。

git help config了解详情。