git remote add origin 使用

<p>新建一个仓库以后,提示命令</p><p><br/></p><pre class="brush:bash;toolbar:false">echo&quot;#my-study&quot;&gt;&gt;README.md gitinit gitaddREADME.md gitcommit-m&quot;firstcommit&quot; 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>
RangeTime:0.008340s
RangeMem:202.04 KB
返回顶部 留言