Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6254263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T14:09:06+00:00 2026-05-24T14:09:06+00:00

I began taking up Heroku again, but have had some problems trying to get

  • 0

I began taking up Heroku again, but have had some problems trying to get it to where I could upload an app to my server. I have taken the steps already to have the Heroku gem properly installed and both Sinatra and Ruby installed onto my Mac. Since I have been away from it for a while, I did these steps:

gem remote rm heroku
gem remote add heroku git@heroku.com:pxlc.git
cd Desktop/myapp
git init
git add .
git commit -m 'Initial commit'
git push heroku master

After that I get this strange error telling me to do a “git pull”. Shouldn’t I have been able to put in my .ssh key and Heroku credentials?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T14:09:07+00:00Added an answer on May 24, 2026 at 2:09 pm

    An error telling you to do a pull is telling you that you can’t push in your current state because you’d overwrite some other work that’s been pushed to the git remote. You first have to pull to merge the remote changes into your local code, then push. It looks like you’re creating brand new repo and trying to push it somewhere where something already exists.

    Edit: To do what it’s telling you, just git pull heroku master. It will fetch all the remote changes and merge them into your branch for you. This could fail with merge conflicts, which you’d then have to resolve. If it’s successful, there’s nothing else to do.

    If you really do want to wipe out anything that’s there–as in lost forever wipe out–you can git push -f heroku master to force the push.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I began writing an app using declarative_authorization ( http://github.com/stffn/declarative_authorization ) but I'm now wondering
i've been trying to get some modeless forms in my application to appear on
I began reading the book Code Complete 2nd edition, but stopped reading when I
I began studying Java Regular Expression recently and I found some really intersting task.For
I recently began using BIRT and have developed a report to use with my
I've recently began using dTrace and have noticed just how awesome it is. Its
I'm currently building a web app that will take some info from a database
So I am taking Enunciate for a spin and have run into an issue
I have to pass the address of a member fn taking one argument to
In the app I'm writing I have a bunch of stats which I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.