Moving an existing repo to Github
Assuming you already have code in a local repository…
Got to
https://github.com/new
and create a new repository. Remember to create it without a.gitignore
orREADME
file so as to avoid needing a merge.In your local repo run a command like:
git remote add origin git@github.com:richdougherty/kitteh-feeder.git
Then run:
git push -u origin master
Via Stack Overflow.