Pushing changes to a remote server from a locally started repo

Posted by Eliseo Soto on Stack Overflow See other posts from Stack Overflow or by Eliseo Soto
Published on 2010-04-22T20:38:28Z Indexed on 2010/04/22 21:43 UTC
Read the original article Hit count: 200

Filed under:
|

I started a new project and created a local git repo with "git init" and now I have a few branches and everything works great.

However, since my webhosting company offers git hosting (details if you're curious), I'd like to push my entire repo to their servers to have a backup in the cloud in case something bad happens to my local repo.

How can I make the remote repo the "origin" since the repo was started locally?

© Stack Overflow or respective owner

Related posts about git

Related posts about version-control