Leaving Github, how to change the origin of a Git repo?

Posted by benoror on Stack Overflow See other posts from Stack Overflow or by benoror
Published on 2010-06-10T03:14:35Z Indexed on 2010/06/10 3:22 UTC
Read the original article Hit count: 272

Filed under:
|
|

I'm hosting a project in Github, but now I purchased a plan with Dreamhost that includes shell access and Git.

      Github [Origin]
       /         \
  pull/           \pull
     /push     push\
    /               \  
Laptop           Dreamhost
(cloned)          (cloned)

I would like to delete my repo from Github, and starting push directly to DH.

How do I change origin in my Laptop, and should I delete the origin in Dreamhost?

© Stack Overflow or respective owner

Related posts about git

Related posts about github