<br><br><div class="gmail_quote">2008/11/13 martin f krafft <span dir="ltr">&lt;<a href="mailto:madduck@debian.org">madduck@debian.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
also sprach Paul Harris &lt;<a href="mailto:paulharris@computer.org">paulharris@computer.org</a>&gt; [2008.11.13.1448 +0100]:<br>
&gt; Attached are 3 patches, you clone the git repo and then use &quot;git<br>
&gt; am&quot; to apply each one in turn (Martin already knows this,<br>
&gt; I didn&#39;t)<br>
<br>
A better way to share those would probably be a branch you publish.<br>
So you could e.g.<br>
<br>
 &nbsp;git checkout -b paulharris/some-name<br>
<br>
then apply/am/cherry-pick the commits that are part of &quot;some-name&quot;<br>
(you might want to make more than one branch) into the branch and<br>
push it (git push origin paulharris/some-name).<br>
<br>
Then, people can just do<br>
<br>
 &nbsp;git fetch origin<br>
 &nbsp;git checkout -b paulharris/some-name origin/paulharris/some-name<br>
<br>
to try it out.<br>
<br>
If you have those three patches on top of origin/master right now,<br>
so that your master is three commits ahead from origin/master, then<br>
you could do this:<br>
<br>
 &nbsp;git checkout -b paulharris/feature1 master<br>
 &nbsp;git cherry-pick &lt;commit belonging to feature1&gt; &lt;another commit&gt;<br>
 &nbsp;git checkout -b paulharris/feature2 master<br>
 &nbsp;git cherry-pick &lt;commit belonging to feature2&gt;<br>
</blockquote><div><br><br>i tried this and stuffed it up.&nbsp; my patches are one-after-the-other and there is a fair bit of overlap, so I thought i&#39;d start with just 1 branch ...<br><br>git clone etc<br>cd libkdtree<br>
git checkout -b paulharris/bugfixes master&nbsp; <br>git am ../0001<br>git am ../0002<br>git am ../0002<br><br>so all looks good... now what?<br>git push says &quot;everything up-to-date&quot;<br></div></div><br>? i just don&#39;t get git ?<br>
<br>