`git:remote` is not a heroku command

I deployed an app a few days ago and I am trying to modify some pages. To work on my current version, I wanted to fetch my files from heroku.

I used:

heroku git:remote -a fierce-escarpment-8305

like it is said on the page
https://devcenter.heroku.com/articles/git.

and received the message:

  !    `git:remote` is not a heroku command.
  !    See `heroku help` for a list of available commands.

I don’t know what that means. Can anyone help me ?

Thank you

  • Multiple modules within one git repository; only one module needs to be deployed to Heroku
  • Switching Heroku app to server in other region
  • Can't “git push”. “Heroku Git error” for 4 days now
  • Deploy git subdirectory on heroku
  • Have the server build VS. check in & push a locally built app
  • Heroku , pull sqlite3 database
  • error: src refspec master does not match any. failed to push some refs to heroku
  • Pushing Rails App to Heroku - “fatal: Could not parse object”
  • One Solution collect form web for “`git:remote` is not a heroku command”

    heroku git:remote is a fairly new addition to the Heroku gem (it was added in version 2.30.0 on 25th July 2012). Since it’s so recent, you probably have an older version installed.

    Check your version with this command:

    heroku --version
    

    If it’s less than 2.30.0 then you can upgrade with this command:

    gem update heroku
    

    You could also remove the Gem completely (it’s now deprecated) and switch to the Heroku Toolbelt version of the heroku command. You can get it from toolbelt.heroku.com.

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