[Solved] Move source code from existing repo to new with keeping history


Create a repo on Github, then using the command line

cd /path/to/your/repo
git remote set-url origin <github URL>
git pull origin master
git push -u origin master

Basically you’re changing the default origin remote URL to point to the Github one.

5

solved Move source code from existing repo to new with keeping history