git config --global user.name "YanfengYu"
git config --global user.email [email protected]
mkdir yanfengyu.github.com
cd yanfengyu.github.com
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin [email protected]:yanfengyu/yanfengyu.github.com.git
git push -u origin master
cd existing_git_repo
git remote add origin [email protected]:yanfengyu/yanfengyu.github.com.git
git push -u origin master
Check out the guide for step by step instruction.