61 lines
1.6 KiB
HTML
61 lines
1.6 KiB
HTML
|
---
|
||
|
layout: reference
|
||
|
---
|
||
|
|
||
|
<div class="box">
|
||
|
<h2>
|
||
|
<span class="docs">
|
||
|
<a target="new" href="http://progit.org/book">book</a>
|
||
|
</span>
|
||
|
Sharing and Updating Projects
|
||
|
</h2>
|
||
|
<div class="block">
|
||
|
<p class="nutshell">
|
||
|
<b>In a nutshell</b> you can update your project with <code>git fetch</code>
|
||
|
and share your changes with <code>git push</code>.
|
||
|
</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="box">
|
||
|
<h2>
|
||
|
<span class="docs">
|
||
|
<a target="new" href="http://www.kernel.org/pub/software/scm/git/docs/git-fetch.html">docs</a>
|
||
|
<a target="new" href="http://progit.org/book/">book</a>
|
||
|
</span>
|
||
|
<a name="fetch">git fetch</a>
|
||
|
<span class="desc">download new branches and data from a remote repository</span>
|
||
|
</h2>
|
||
|
|
||
|
<br/>
|
||
|
|
||
|
<h2>
|
||
|
<span class="docs">
|
||
|
<a target="new" href="http://www.kernel.org/pub/software/scm/git/docs/git-pull.html">docs</a>
|
||
|
<a target="new" href="http://progit.org/book/">book</a>
|
||
|
</span>
|
||
|
<a name="pull">git pull</a>
|
||
|
<span class="desc">fetch from a remote repo and try to merge into the current branch</span>
|
||
|
</h2>
|
||
|
<div class="block">
|
||
|
<p>Cool.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="box">
|
||
|
<h2>
|
||
|
<span class="docs">
|
||
|
<a target="new" href="http://www.kernel.org/pub/software/scm/git/docs/git-push.html">docs</a>
|
||
|
<a target="new" href="http://progit.org/book/">book</a>
|
||
|
</span>
|
||
|
<a name="push">git push</a>
|
||
|
<span class="desc">push your new branches and data to a remote repository</span>
|
||
|
</h2>
|
||
|
|
||
|
<div class="block">
|
||
|
<p>Cool.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<p><a href="/inspect">On to Inspection and Comparison »</a></p>
|