Tag: heroku

heroku and github at the same time

So I understand that heroku functions as a git repository, but let’s say i want to use github as well as a repository. How do I set it up such that I have two repositories and both are in sync?

Push different branch to Heroku

Just finised work on my other branch. Now I need to test that this works on Heroku before I merge with the master branch. Is it possible to push the other branch to Heroku and it replace the contents of my last push which was from the master branch?

Git revert last commit in heroku

I made acommit and pushed it to origin and heroku Then I realised it was wrong, so I did git reset –soft HEAD^ But when I’m pushing to Heroku Im getting To git@heroku.com:app.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to ‘git@heroku.com:app.git’ To prevent you from losing history, non-fast-forward updates […]

Access to a file or folder on heroku server

When I deploy my application on Heroku server, the server generate an app automatically and I found on my resource a git url. Example: git@heroku.com:myapp-ss-1338.git. How can I access this url to view source code or folder via a web browser?

Heroku + Node: Cannot find module error

My Node app is running fine locally, but has run into an error when deploying to Heroku. The app uses Sequelize in a /models folder, which contains index.js, Company.js and Users.js. Locally, I am able to import the models using the following code in /models/index.js: // load models var models = [ ‘Company’, ‘User’ ]; […]

Error: Cannot pull with rebase: You have unstaged changes

I have started collaborating with a few friends on a project & they use the heroku git repository. I cloned the repository a few days ago and they have since made some changes so I am trying to get the latest updates I ran the git pull –rebase command as stated here(Is this the right […]

Does heroku use my ssh key to fetch builpacks?

Heroku gives you the possibility to use a custom buildpack using the BUILDPACK_URL env variable. That worked fine with git@github.com:user/repo.git urls until someone had trouble fetching the buildpack. Until now I assumed heroku managed to fetch buildpacks on its own but it seems it uses my heroku ssh key to do this. And it just […]

Link Heroku commits to Github?

This may be a silly question, but when you commit to Git for Heroku, does it show up anywhere on Github or is there any way to have it show up that way? Or where are the commits being stored? I wasn’t able to find anywhere online to know if this was possible or not. […]

Can't push my code to heroku master

I tried to push my application to heroku but got some errors. Please help many thanks github link: https://github.com/zombie7158/testapp system info: ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-darwin12.4.1] Rails 4.0.0 Running ruby -v attached to terminal… up, run.9339 ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux] error info: Counting objects: 83, done. Delta compression using up to 4 […]

Deploy my app on heroku

I am learning how to deploy my app on Heroku and need some guidance. Background: My app currently runs locally, and accesses MySQL database on my machine to pull data for making phone calls to people via Twilio. The scripts in my app are in PHP. So I what I want to do is to […]

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