测试--git提交命令

2015年02月01日

create a new repository on the command line

echo # snake1977.github.io >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/snake1977/snake1977.github.io.git
git push -u origin master

push an existing repository from the command line

git remote add origin https://github.com/snake1977/snake1977.github.io.git
git push -u origin master