12、github使用
<h3>create a new repository on the command line</h3>
<pre><code>echo "# MyCode" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/lduml/MyCode.git
git push -u origin master</code></pre>
<h3>push an existing repository from the command line</h3>
<pre><code>git remote add origin https://github.com/lduml/MyCode.git
git push -u origin master</code></pre>