How do I set Heroku as git's origin?

Currently I have to submit stuff via: git push heroku master

Heroku is not the origin for some reason, github is – I don’t want it to be though – I think it’s because I downloaded the GitHub desktop client anyways.

  • should minified files be committed into source control?
  • Git and Mercurial: what would be equivalent of Git workflow in Mercurial?
  • Git - How do I revert my local files to the last commit i made?
  • Rename branch in Gitkraken?
  • Storing Android eclipse projects in version control?
  • Git pull on remote host with Fabric
  • Anyways – how do I make heroku the origin?

  • Why doesn't the vendor folder show in Bitbucket?
  • Custom SSH Config Not Working
  • Error “Detecting Library Folders” in Zend Studio
  • Display the Authors and commit message for commits that cause a conflict
  • Cannot get to msysgit bash prompt
  • Git svn workflow with two clients
  • 2 Solutions collect form web for “How do I set Heroku as git's origin?”

    Use:

    git remote set-url origin git@heroku.com:<repo>.git

    You can rename a remote with

    git remote rename heroku origin
    
    Git Baby is a git and github fan, let's start git clone.