<p>新建一个仓库以后,提示命令</p><p><br/></p><pre class="brush:bash;toolbar:false">echo"#my-study">>README.md
gitinit
gitaddREADME.md
gitcommit-m"firstcommit"
gitremoteaddorigingit@github.com:ddsdf/tst1.git
gitpush-uoriginmaster</pre><p>如果已经 commit ,直接执行后面的命令</p><p><br/></p><p><br/></p><p>git remote add origin git@github.com:ddsdf/tst1.git</p><p>git push -u origin master</p><p><br/></p>