草庐IT

heroku-postgres

全部标签

ruby-on-rails - 带有 git remote 的 Gem 文件在 heroku push 上失败

我的gemfile中有以下行:gem'client_side_validations',:git=>"git@github.com:Dakuan/client_side_validations.git",:branch=>"master",ref:'2245b4174ffd4b400d999cb5a2b6dccc0289eb67'它指向的存储库是公开的,我可以在本地运行bundleinstall/update就好了。当我尝试推送到Heroku时,出现以下错误:Fetchinggit@github.com:Dakuan/client_side_validations.gitHostkey

ruby-on-rails - 带有 git remote 的 Gem 文件在 heroku push 上失败

我的gemfile中有以下行:gem'client_side_validations',:git=>"git@github.com:Dakuan/client_side_validations.git",:branch=>"master",ref:'2245b4174ffd4b400d999cb5a2b6dccc0289eb67'它指向的存储库是公开的,我可以在本地运行bundleinstall/update就好了。当我尝试推送到Heroku时,出现以下错误:Fetchinggit@github.com:Dakuan/client_side_validations.gitHostkey

git - 无法推送到 heroku

我正在将当前的git存储库推送到heroku。该在线应用程序是使用Scala和IntelliJ开发的。而且我不知道如何修复此错误。$gitpushherokumasterCountingobjects:3,done.Deltacompressionusingupto4threads.Compressingobjects:100%(3/3),done.Writingobjects:100%(3/3),531bytes|0bytes/s,done.Total3(delta0),reused0(delta0)remote:Compressingsourcefiles...done.remot

git - 无法推送到 heroku

我正在将当前的git存储库推送到heroku。该在线应用程序是使用Scala和IntelliJ开发的。而且我不知道如何修复此错误。$gitpushherokumasterCountingobjects:3,done.Deltacompressionusingupto4threads.Compressingobjects:100%(3/3),done.Writingobjects:100%(3/3),531bytes|0bytes/s,done.Total3(delta0),reused0(delta0)remote:Compressingsourcefiles...done.remot

git - 同时使用 heroku 和 github

所以我知道heroku用作git存储库,但假设我想使用github和存储库。我如何设置它以便我有两个存储库并且两者同步? 最佳答案 你可以在一个git安装上有多个远程。您将拥有一个githubRemote和一个herokuRemote。假设您已经设置了github,那么您可能会使用类似以下内容推送到github:gitpushoriginmasterorigin是您的Remote,master是您的分支。按照gettingstartedwithHeroku中的说明进行操作选择您想要的语言并继续完成教程。本教程假定您已经设置了gith

git - 同时使用 heroku 和 github

所以我知道heroku用作git存储库,但假设我想使用github和存储库。我如何设置它以便我有两个存储库并且两者同步? 最佳答案 你可以在一个git安装上有多个远程。您将拥有一个githubRemote和一个herokuRemote。假设您已经设置了github,那么您可能会使用类似以下内容推送到github:gitpushoriginmasterorigin是您的Remote,master是您的分支。按照gettingstartedwithHeroku中的说明进行操作选择您想要的语言并继续完成教程。本教程假定您已经设置了gith

git - 'git push heroku master' 仍在请求身份验证

我已经执行了:$herokulogin但是当我尝试推送时,仍然要求我进行身份验证:$gitpushherokumasterUsernamefor'https://git.heroku.com':Passwordfor'https://@git.heroku.com':然后我收到一条警告:不要使用Git使用用户名和密码进行身份验证。我再次运行herokulogin并成功通过身份验证,但我仍然遇到同样的失败。我检查过Remote:$gitremote-vherokuhttps://git@heroku.com/appname.git(fetch)herokuhttps://git@hero

git - 'git push heroku master' 仍在请求身份验证

我已经执行了:$herokulogin但是当我尝试推送时,仍然要求我进行身份验证:$gitpushherokumasterUsernamefor'https://git.heroku.com':Passwordfor'https://@git.heroku.com':然后我收到一条警告:不要使用Git使用用户名和密码进行身份验证。我再次运行herokulogin并成功通过身份验证,但我仍然遇到同样的失败。我检查过Remote:$gitremote-vherokuhttps://git@heroku.com/appname.git(fetch)herokuhttps://git@hero

git - 在 bitbucket 上使用 git 部署到 Heroku

我想使用git将我的源代码托管在bitbucket上,因为我显然获得了一个免费的私有(private)存储库,并且我想使用bitbucket的源代码将我的应用程序托管在heroku上。我可以使用github客户端和heroku工具带来完成吗?它会工作吗?Github很棒,但我不想让每个人都看到我的代码,而且我不想为私有(private)仓库付费,因为它是一个小项目。 最佳答案 无论您在何处托管代码,部署到Heroku都应该有效,因为HerokuCLI为部署添加了它自己的gitremote。事实上,您甚至可以从Heroku中gitpu

git - 在 bitbucket 上使用 git 部署到 Heroku

我想使用git将我的源代码托管在bitbucket上,因为我显然获得了一个免费的私有(private)存储库,并且我想使用bitbucket的源代码将我的应用程序托管在heroku上。我可以使用github客户端和heroku工具带来完成吗?它会工作吗?Github很棒,但我不想让每个人都看到我的代码,而且我不想为私有(private)仓库付费,因为它是一个小项目。 最佳答案 无论您在何处托管代码,部署到Heroku都应该有效,因为HerokuCLI为部署添加了它自己的gitremote。事实上,您甚至可以从Heroku中gitpu