Tag: heroku

How do I reset a Heroku git repository to its initial state?

I have got a web application within a git repository. Due to historic reasons the web application is not at the root of the repository, it is within a folder called website. Beside that there are some other folders, so that I have got the following structure: myApp +- .git +- otherFolder1 +- otherFolder2 +- […]

How can I push a part of my git repo to Heroku?

I have a multi-module app that is already on Github. It is comprised of two modules, one of them an Android app and the other a Rails based Web app. So my project’s directory structure is in the form of: ProjectRoot | +– web | +– android | +– .git As such I cannot simply […]

heroku: Gemfile.lock is required issue

I have the following issue: I’m trying to deploy my project on heroku but after i run git push heroku master I get the following: git push heroku master -f Counting objects: 524, done. Delta compression using up to 2 threads. Compressing objects: 100% (498/498), done. Writing objects: 100% (524/524), 157.76 KiB, done. Total 524 […]

Rails 3 and Heroku: automatically “rake db:migrate” on push?

I have a slight annoyance with my heroku push/deploy process, which otherwise has been a joy to discover and use. If i add a new migration to my app, the only way i can get it up onto the heroku server is to do a push to the heroku remote. This uploads it and restarts […]

Heroku push master ssh problem

I get this when I am trying to push to my Heroku app: ssh_exchange_identification: read: Connection reset by peer fatal: The remote end hung up unexpectedly I tried regenerating the ssh keys and adding them to the remote, but no joy. Any help. Kinda stuck in a rut here! EDIT: and now I get the […]

git push heroku master Permission denied (publickey). fatal: The remote end hung up unexpectedly

Please excuse a bit of frustration, which I will try to keep in check since Heroku is using SO as their customer support (which I think it shoddy to say the least). For the last five hours I have been trying to get an application to publish, but invariably something goes wrong with the keys. […]

My Git installation always refers to the wrong directory. Why?

I installed and re-installed Git on my Windows8 machine multiple times. It’s a long story as to why I did that. Once I installed it at C:\Git and now I have it installed at C:\Program Files (x86)\Git and now I am having Git configuration problems. My Git configuration is unable to write security credentials to […]

How to reset Heroku app and re-commit everything?

I’m building an application which I’m also testing in Heroku. I ran into some problem today and had to rollback one commit in my local git repo, but Heroku now won’t recognize my changes saying that “everything is up to date”. So, running git push heroku master heroku responds with Everything up-to-date which isn’t true. […]

Deploying to Heroku using git on bitbucket

I want to host my source on bitbucket using git because I obviously get a free private repo and I want to host my app on heroku using the source code from bitbucket. Can i do it using the github client and heroku toolbelt. Will it work? Github is great but i dont want everyone […]

Pushing to github after a shallow clone

I had a massive git repo because of a huge number of commits, so following advice here I created a shallow clone. I’ve made changes to this new local repo, and now I want to push to my origin at Github (and then on to my staging and production remotes on Heroku). Perhaps one day […]

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