Git branch push to different repo

I apologize for the stupid question, but I feel like I’ve really struck a rut with this one.

Currently, I’m hosting my app at PHPFog and to my knowledge they don’t allow pushing of any other branch aside from your master branch. My solution was to simply create another app/repo for development.

  • Git / detached HEAD, get work back?
  • Git rebase subtree
  • Git: Will merging master into a topic branch often avoid conflicts later on?
  • Is there a way to make a local branch immutable?
  • Github etiquette for deciding on whether to create a new project or branch an existing one
  • how does git svn dcommit determine where to commit to?
  • My question is how can I change my origin specifically on my development branch to push to a separate repo? Or is there a better way to do this entirely?

  • Can I migrate trac from SVN to Git repositories without exporting + creating a new trac instance?
  • How to deploy in gh-pages with index.html as a symlink to a subdirectory
  • post-receive script for windows (email notification)
  • Recovering from forgetting to .gitignore
  • Git describe fails to return most recent annotated tag
  • Excluding .js files in git repository of coffeescript project
  • One Solution collect form web for “Git branch push to different repo”

    $ git remote add dev-origin <dev_repo_url>
    $ git push --set-upstream dev-origin dev

    where dev is the name of your development branch.

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