Tag: heroku

Only allow 'git push heroku master' from the master branch

I recently set up dev/staging/production environment on OSX Lion. I have a git repo with a development and a master branch, and a Heroku instance with master and staging origins. The basic workflow is to develop in the development branch, merge into master, deploy to staging, then finally deploy to production. I’d like to prevent […]

View Git Repository on Heroku

I was wondering if it’s possible or anyone has found a way to view their git repository graphically on a Heroku server? Like would it be possible to set up something such as gitalist on Heroku and then view the commits from the git you have set up for that app on Heroku. Regards,

Error message after successfully pushing to Heroku

remote: Verifying deploy… done. fatal: protocol error: bad line length character: fata error: error in sideband demultiplexer This just randomly started showing up. My changes are being saved in git and pushing successfully to Heroku. I have no idea what this means or what caused it as I have not done anything new at all.

How do you prevent Git from printing 'remote:' on each line of the output of a post-recieve hook?

I recently configured an EC2 instance with a Git deployment workflow that resembles Heroku, but I can’t seem to figure out how Heroku prevents the Git post-receive hook from outputting ‘remote:’ on each line. Consider the following two examples (one from my EC2 project and one from a Heroku project): My EC2 project: git push […]

Heroku, like a git repo?

I am having a problem wrapping my brain around Heroku. I created a small ruby on rails app, got it deployed to the free version of heroku and used a lot of git calls to do so. I have to say, can heroku be used as like a bitbucket as well as a host for […]

push heroku to github

i already have an app on Heroku that was put there by another developer. how do i now transfer that my new github repo? i’m already set up the empty repo on github and assigned that to the app settings on Heroku. i just do not know how to initiate the git transfer. i tried […]

ssh: connect to host heroku port 22: Connection refused

I’m trying to push a Rails application up to heroku and it continuously gives me this error: ssh: connect to host port 22: Connection refused fatal: Could not read from remote repository. This worked earlier in the week at both a public wifi location and a private wifi location. I have looked at ssh-connect-to-host-heroku […]

Deploying rails app into heroku

I’ve logged in into heroku via terminal. heroku create git push heroku master Error messages: Counting objects: 1012, done. Delta compression using up to 4 threads. Compressing objects: 100% (983/983), done. Writing objects: 100% (1012/1012), 10.52 MiB | 3.30 MiB/s, done. Total 1012 (delta 168), reused 0 (delta 0) remote: Compressing source files… done. remote: […]

How to push a subtree to heroku using a non master branch

I know I can do this: git subtree push –prefix server heroku master to push a subtree of my project (in this case everything under the ./server directory). And I can do the following to push a non master branch: git push heroku somebranch:master But I cannot seem to do any combination that looks like […]

Failure to run Toolbelt on Windows 7 — invalid argument 'heroku-cli.exe'

Just started digging into Heroku and I downloaded and installed Toolbelt with no problems (full install). When I attempt to run any command however, I receive the following error: $ heroku login Invalid argument – “C:\Users\Veix\AppData\Local/heroku/heroku-cli.exe” version C:/Program Files (x86)/Heroku/lib/heroku/jsplugin.rb:107:in “’ C:/Program Files (x86)/Heroku/lib/heroku/jsplugin.rb:107:in `version’ C:/Program Files (x86)/Heroku/lib/heroku/jsplugin.rb:213:in `check_if_old’ C:/Program Files (x86)/Heroku/lib/heroku/jsplugin.rb:123:in `setup’ C:/Program Files […]

Git Baby is a git and github fan, let's start git clone.