<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Show Git Branch in Bash Terminal</title> <atom:link href="http://railsnotes.com/603-show-git-branch-in-bash-terminal/feed/" rel="self" type="application/rss+xml" /><link>http://railsnotes.com/603-show-git-branch-in-bash-terminal/</link> <description>A code-heavy brain dump of stuff I come across working on Ruby on Rails projects including Models, ActiveRecord, Views, Controllers, RESTful rails, deployment, server stuff, etc.</description> <lastBuildDate>Thu, 04 Mar 2010 09:33:35 -0700</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Melvin Ram</title><link>http://railsnotes.com/603-show-git-branch-in-bash-terminal/comment-page-1/#comment-78</link> <dc:creator>Melvin Ram</dc:creator> <pubDate>Sat, 12 Dec 2009 00:24:22 +0000</pubDate> <guid
isPermaLink="false">http://www.railsnotes.com/?p=603#comment-78</guid> <description>Lucho - I say it works on OSX, not linux so that might be the difference.  If you do figure out what works on linux, I&#039;d be happy to add that to the post.</description> <content:encoded><![CDATA[<p>Lucho &#8211; I say it works on OSX, not linux so that might be the difference.  If you do figure out what works on linux, I&#8217;d be happy to add that to the post.</p> ]]></content:encoded> </item> <item><title>By: lucho</title><link>http://railsnotes.com/603-show-git-branch-in-bash-terminal/comment-page-1/#comment-77</link> <dc:creator>lucho</dc:creator> <pubDate>Thu, 10 Dec 2009 13:56:29 +0000</pubDate> <guid
isPermaLink="false">http://www.railsnotes.com/?p=603#comment-77</guid> <description>both codes are wrong. linux</description> <content:encoded><![CDATA[<p>both codes are wrong. linux</p> ]]></content:encoded> </item> <item><title>By: Ashley Williams</title><link>http://railsnotes.com/603-show-git-branch-in-bash-terminal/comment-page-1/#comment-64</link> <dc:creator>Ashley Williams</dc:creator> <pubDate>Thu, 21 May 2009 17:30:23 +0000</pubDate> <guid
isPermaLink="false">http://www.railsnotes.com/?p=603#comment-64</guid> <description>Here&#039;s an alternative one:&lt;br&gt;&lt;a href=&quot;http://pastie.org/485245&quot; rel=&quot;nofollow&quot;&gt;http://pastie.org/485245&lt;/a&gt;&lt;br&gt;&lt;br&gt;Which outputs:&lt;br&gt;&lt;a href=&quot;http://www.grabup.com/uploads/06fbca0fb8cbb751c500994e4fed6668.png?direct&quot; rel=&quot;nofollow&quot;&gt;http://www.grabup.com/uploads/06fbca0fb8cbb751c...&lt;/a&gt;&lt;br&gt;&lt;br&gt;(the asterisk shows if the branch has un-commited changes)</description> <content:encoded><![CDATA[<p>Here&#39;s an alternative one:<br
/><a
href="http://pastie.org/485245" rel="nofollow">http://pastie.org/485245</a></p><p>Which outputs:<br
/><a
href="http://www.grabup.com/uploads/06fbca0fb8cbb751c500994e4fed6668.png?direct" rel="nofollow"></a><a
href="http://www.grabup.com/uploads/06fbca0fb8cbb751c.." rel="nofollow">http://www.grabup.com/uploads/06fbca0fb8cbb751c..</a>.</p><p>(the asterisk shows if the branch has un-commited changes)</p> ]]></content:encoded> </item> <item><title>By: melvinram</title><link>http://railsnotes.com/603-show-git-branch-in-bash-terminal/comment-page-1/#comment-63</link> <dc:creator>melvinram</dc:creator> <pubDate>Thu, 21 May 2009 03:07:28 +0000</pubDate> <guid
isPermaLink="false">http://www.railsnotes.com/?p=603#comment-63</guid> <description>Hmm that’s interesting. I wonder why that is. When I put in what you have, the colors don’t work for me but with the original code, it works. In anycase, glad you got it working.&lt;br&gt;&lt;br&gt;Will others pls comment on which of the two (if any) works for you? Also add your OSX version. I am on Leopard.</description> <content:encoded><![CDATA[<p>Hmm that’s interesting. I wonder why that is. When I put in what you have, the colors don’t work for me but with the original code, it works. In anycase, glad you got it working.</p><p>Will others pls comment on which of the two (if any) works for you? Also add your OSX version. I am on Leopard.</p> ]]></content:encoded> </item> <item><title>By: Robby Colvin</title><link>http://railsnotes.com/603-show-git-branch-in-bash-terminal/comment-page-1/#comment-61</link> <dc:creator>Robby Colvin</dc:creator> <pubDate>Wed, 20 May 2009 22:26:17 +0000</pubDate> <guid
isPermaLink="false">http://www.railsnotes.com/?p=603#comment-61</guid> <description>The colors aren&#039;t working for me. I had to do this to make it work:&lt;br&gt;&lt;br&gt;GREEN=&quot;[ 33[0;32m]&quot;&lt;br&gt;YELLOW=&quot;[ 33[0;33m]&quot;&lt;br&gt;WHITE=&quot;[ 33[0;0m]&quot;</description> <content:encoded><![CDATA[<p>The colors aren&#39;t working for me. I had to do this to make it work:</p><p>GREEN=&#8221;[ 33[0;32m]&#8220;<br
/>YELLOW=&#8221;[ 33[0;33m]&#8220;<br
/>WHITE=&#8221;[ 33[0;0m]&#8220;</p> ]]></content:encoded> </item> <item><title>By: Melvin Ram</title><link>http://railsnotes.com/603-show-git-branch-in-bash-terminal/comment-page-1/#comment-62</link> <dc:creator>Melvin Ram</dc:creator> <pubDate>Wed, 20 May 2009 22:06:13 +0000</pubDate> <guid
isPermaLink="false">http://www.railsnotes.com/?p=603#comment-62</guid> <description>Hmm that&#039;s interesting. I wonder why that is. When I put in what you have, the colors don&#039;t work for me but with the original code, it works. In anycase, glad you got it working.Will others pls comment on which of the two (if any) works for you? Also add your OSX version. I am on Leopard.</description> <content:encoded><![CDATA[<p>Hmm that&#8217;s interesting. I wonder why that is. When I put in what you have, the colors don&#8217;t work for me but with the original code, it works. In anycase, glad you got it working.</p><p>Will others pls comment on which of the two (if any) works for you? Also add your OSX version. I am on Leopard.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 6/22 queries in 0.040 seconds using disk

Served from: php5-n254.wc1.dfw1.stabletransit.com @ 2010-03-19 08:21:25 -->