Skip to content

Instantly share code, notes, and snippets.

@yogeshnarayanan
Created December 6, 2018 05:58
Show Gist options
  • Save yogeshnarayanan/97952269a1e98d3875ac916fc55564de to your computer and use it in GitHub Desktop.
Save yogeshnarayanan/97952269a1e98d3875ac916fc55564de to your computer and use it in GitHub Desktop.
Git Command to move repository origin
git clone --bare https://github.com/exampleuser/old-repository.git
cd old-repository.git
git push --mirror https://github.com/exampleuser/new-repository.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment