<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://jennyandlih.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>git</title>
 <link>http://jennyandlih.com/note-type/tech/git</link>
 <description>The taxonomy view.</description>
 <language>en</language>
<item>
 <title>Using origin/master with git-svn</title>
 <link>http://jennyandlih.com/using-originmaster-git-svn</link>
 <description>&lt;p&gt;If you have lots of aliases in your ~/.gitconfig referencing origin/master, it can be quite annoying that git-svn provides only a remotes/trunk reference.&lt;/p&gt;
&lt;p&gt;To fix this, from the top-level directory of your working copy:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;cd .git/refs/remotes&lt;br /&gt;cat trunk&amp;nbsp;&amp;nbsp; # notice that trunk is just a plain file containing the hash reference of a certain commit&lt;br /&gt;mkdir origin&lt;br /&gt;ln -s ../trunk origin/master&amp;nbsp;&amp;nbsp; # create a symbolic link from origin/master to trunk&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Tadaa, that&#039;s it.  You can now reference origin/master and it will always stay up-to-date with whatever trunk is referencing!&lt;/p&gt;
</description>
 <comments>http://jennyandlih.com/using-originmaster-git-svn#comments</comments>
 <category domain="http://jennyandlih.com/note-type/tech/git">git</category>
 <category domain="http://jennyandlih.com/note-type/tech/subversion">Subversion</category>
 <pubDate>Thu, 11 Nov 2010 19:53:10 -0700</pubDate>
 <dc:creator>jenny</dc:creator>
 <guid isPermaLink="false">2173 at http://jennyandlih.com</guid>
</item>
<item>
 <title>Strange git rebase --continue failure</title>
 <link>http://jennyandlih.com/strange-git-rebase-continue-failure</link>
 <description>	&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;$ git pull&lt;br /&gt;&amp;#8230;&lt;br /&gt;&lt;span class=&quot;caps&quot;&gt;CONFLICT&lt;/span&gt; (rename/modify): Merge conflict in somefile.txt&lt;br /&gt;Failed to merge in the changes.&lt;br /&gt;Patch failed at 0002 Some commit.&lt;br /&gt;&lt;br /&gt;When you have resolved this problem run &amp;quot;git rebase &amp;#8212;continue&amp;quot;.&lt;br /&gt;If you would prefer to skip this patch, instead run &amp;quot;git rebase &amp;#8212;skip&amp;quot;.&lt;br /&gt;To restore the original branch and stop rebasing run &amp;quot;git rebase &amp;#8212;abort&amp;quot;.&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;

	&lt;p&gt;&amp;#8230;this was an expected conflict, so I resolve it and add the file:&lt;/p&gt;

	&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;$ git add somefile.txt&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;

	&lt;p&gt;Now, to finish up:&lt;/p&gt;

	&lt;p&gt;&lt;code&gt;&lt;br /&gt;
$ git rebase &amp;#8212;continue&lt;br /&gt;
You must edit all merge conflicts and then&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://jennyandlih.com/strange-git-rebase-continue-failure&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://jennyandlih.com/strange-git-rebase-continue-failure#comments</comments>
 <category domain="http://jennyandlih.com/note-type/tech/git">git</category>
 <pubDate>Thu, 11 Mar 2010 21:51:07 -0700</pubDate>
 <dc:creator>jenny</dc:creator>
 <guid isPermaLink="false">2085 at http://jennyandlih.com</guid>
</item>
<item>
 <title>Pushing to a remote git working copy</title>
 <link>http://jennyandlih.com/pushing-remote-git-working-copy</link>
 <description>&lt;p&gt;In the case where the remote working copy is the document root of your site and no one is ever making changes there, it&#039;s extremely annoying that git provides no flag to the push command to allow you to update the work tree as opposed to only the index.&lt;/p&gt;
&lt;p&gt;Enter the post-update hook.&lt;/p&gt;
&lt;ul class=&quot;easylist&quot;&gt;
&lt;li&gt; download the &lt;a href=&quot;http://utsl.gen.nz/git/post-update&quot;&gt;post-update hook&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt; in the remote working copy (which you don&#039;t intend to actually work in), place the post-update file in $working_copy/.git/hooks
&lt;/li&gt;
&lt;li&gt; make it executable
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Voila.  The working copy now actually updates when you push to it.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://jennyandlih.com/pushing-remote-git-working-copy&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://jennyandlih.com/pushing-remote-git-working-copy#comments</comments>
 <category domain="http://jennyandlih.com/note-type/tech/git">git</category>
 <enclosure url="http://jennyandlih.com/files/stash-pop.txt" length="472" type="text/plain" />
 <pubDate>Wed, 13 Jan 2010 22:31:37 -0700</pubDate>
 <dc:creator>jenny</dc:creator>
 <guid isPermaLink="false">2046 at http://jennyandlih.com</guid>
</item>
<item>
 <title>Getting a functioning Egit plugin</title>
 <link>http://jennyandlih.com/getting-functioning-egit-plugin</link>
 <description>&lt;ul class=&quot;easylist&quot;&gt;
&lt;li&gt; Download Eclipse for PHP Developers, version 3.5.1 (Galileo)
&lt;/li&gt;
&lt;li&gt; Go to Java &amp;gt; Installed JREs and make sure a version 1.5.0_11 or later is available (it doesn&#039;t have to be the checked one)
&lt;/li&gt;
&lt;li&gt; Install the egit plugin&lt;br /&gt;
&lt;ul class=&quot;easylist sublist&quot;&gt;
&lt;li&gt; Go to Preferences -&amp;gt; Install/Update -&amp;gt; Available Software Sites and add:&lt;/p&gt;
&lt;ul class=&quot;easylist sublist&quot;&gt;
&lt;li&gt; Name: JGit
&lt;/li&gt;
&lt;li&gt; Location: &lt;a href=&quot;http://www.jgit.org/updates&quot; title=&quot;http://www.jgit.org/updates&quot;&gt;http://www.jgit.org/updates&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt; Go to Help -&amp;gt; Install New Software, select JGit, and check Eclipe Git Plugin
&lt;/li&gt;
&lt;li&gt; Continue through prompts to finish installation
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt; Clone or create a git repository inside your workspace using your favorite tool
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&quot;http://jennyandlih.com/getting-functioning-egit-plugin&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://jennyandlih.com/getting-functioning-egit-plugin#comments</comments>
 <category domain="http://jennyandlih.com/note-type/tech/eclipse">Eclipse</category>
 <category domain="http://jennyandlih.com/note-type/tech/git">git</category>
 <pubDate>Thu, 07 Jan 2010 18:56:25 -0700</pubDate>
 <dc:creator>jenny</dc:creator>
 <guid isPermaLink="false">2038 at http://jennyandlih.com</guid>
</item>
</channel>
</rss>

