Skip to content

Instantly share code, notes, and snippets.

@benbalter
Created April 15, 2013 16:33
Show Gist options
  • Save benbalter/5389381 to your computer and use it in GitHub Desktop.
Save benbalter/5389381 to your computer and use it in GitHub Desktop.
How to move one repo to another
$ git clone https://github.com/[user]/[source-repo].git
$ cd [source-repo]
$ git remote rm origin
$ git remote add origin https://github.com/[user]/[target repo].git
$ git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment