Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Cloning manual repo and push to Github
git clone --bare url/for/my-old-repo.git
cd my-old-repo.git
git push --mirror git@github.com:mycompany/my-new-repo.git
cd ..
rm -rf my-old-repo.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment