Adding existing Ruby project to git
March 17, 2009
Create a new repository in Github. I created a private one. Then I went through the following steps :
cd <existing_project_dir> git init touch README git add README git commit -m 'first commit' git remote add origin git@github.com:joydiph/<project_name>.git git push origin master
With git set and connected, I added the existing files and pushed to the git repository
git add . git commit -m 'initial upload' git push It took several minutes before the files showed up in the git repository