- echo "# SmileProgram" >> README.md
- git init
- git add README.md
- git commit -m "first commit"
- git remote add origin [email protected]:HunterLaugh/SmileProgram.git
- git push -u origin master
- git remote add origin [email protected]:HunterLaugh/SmileProgram.git -git push -u origin master
- You can initialize this repository with code from a Subversion, Mercurial, or TFS project.
- git init
- git add .
- git commit -am "###" -------以上3步只是本地提交
- git remote add origin [email protected]:repos/xxx/xxx/xxx.git
- git push origin 本地分支:远程分支
- add name or *.o *.a
- add exe/