create a new repository on the command line
代码语言:javascript复制git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:user/project_name.git
git push -u origin master
push an existing repository from the command line
代码语言:javascript复制git remote add origin [email protected]:user/project_name.git
git push -u origin master