Skip to content

Commit

Permalink
Publish my post about gitx
Browse files Browse the repository at this point in the history
  • Loading branch information
David Padilla committed Aug 31, 2010
1 parent 373ce7e commit 5f619e8
Show file tree
Hide file tree
Showing 16 changed files with 315 additions and 69 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ title: Open and watch specific git branches using gitx
author: David Padilla
email: david@crowdint.com
avatar: d32b52ec6403614b1adf3e648cbbe584
published: false
published: true
---

It happens, the project and the team grows, and now, there's a bunch of branches in your git repo. It's called *branchitis*, and it happens to everyone at some point.

So, you open gitx, and all you see is a bowl of spaghetti
If you're lucky enough to be working on a Mac, odds are that you're using [gitx](http://gitx.frim.nl/) to watch over your git repos. You're not?! Shame on you.

Anyway, so, you open gitx, and all you see is a bowl of spaghetti

![Bowl of Spaghetti](/images/2010/08/31/a.jpg)

Expand Down Expand Up @@ -38,6 +40,6 @@ Cool! You can actually read this first hand, and it's faster than trying to desc

In case you're wondering, yes, you can specify 3 branches, or as many as you'd like to see. Go ahead, try it out.

Hope this helps you in one way,
Hope this helps you in some way,

Cheers.
8 changes: 4 additions & 4 deletions _site/2010/07/11/git-initial-configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,16 @@ <h2>Add color to your life</h2>
<h1>Related Posts</h1>
<ul class="archives">

<li><span><b>06 Aug 2010</b></span> &raquo; <a href="/2010/08/06/our-git-workflow.html">Our git workflow</a></li>
<li><span><b>31 Aug 2010</b></span> &raquo; <a href="/2010/08/31/open-and-watch-specific-git-branches-using-gitx.html">Open and watch specific git branches using gitx</a></li>

<li><span><b>02 Aug 2010</b></span> &raquo; <a href="/2010/08/02/instant-blog-using-jekyll-and-heroku.html">Instant blog using Jekyll and Heroku</a></li>

<li><span><b>28 Jul 2010</b></span> &raquo; <a href="/2010/07/28/getting-started-with-rvm.html">Getting started with Ruby Version Manager (RVM)</a></li>
<li><span><b>06 Aug 2010</b></span> &raquo; <a href="/2010/08/06/our-git-workflow.html">Our git workflow</a></li>

<li><span><b>17 Aug 2010</b></span> &raquo; <a href="/2010/08/17/use-a-project-specific-ruby-version-rvm.html">Use a project specific Ruby version with RVM</a></li>

<li><span><b>18 Jul 2010</b></span> &raquo; <a href="/2010/07/18/setting-up-automation-with-cucumber-rspec-autotest.html">Setting up Automation with Cucumber, RSpec, Autotest in RoR 2.3.8</a></li>

<li><span><b>20 Aug 2010</b></span> &raquo; <a href="/2010/08/20/what-i-would-ve-loved-to-know-when-i-first-met-ruby.html">What I would've loved I had known when I first met Ruby</a></li>

</ul>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ <h1>Related Posts</h1>

<li><span><b>02 Aug 2010</b></span> &raquo; <a href="/2010/08/02/instant-blog-using-jekyll-and-heroku.html">Instant blog using Jekyll and Heroku</a></li>

<li><span><b>06 Aug 2010</b></span> &raquo; <a href="/2010/08/06/our-git-workflow.html">Our git workflow</a></li>
<li><span><b>17 Aug 2010</b></span> &raquo; <a href="/2010/08/17/use-a-project-specific-ruby-version-rvm.html">Use a project specific Ruby version with RVM</a></li>

<li><span><b>20 Aug 2010</b></span> &raquo; <a href="/2010/08/20/what-i-would-ve-loved-to-know-when-i-first-met-ruby.html">What I would've loved I had known when I first met Ruby</a></li>

Expand Down
4 changes: 2 additions & 2 deletions _site/2010/07/28/getting-started-with-rvm.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ <h1>Related Posts</h1>

<li><span><b>18 Jul 2010</b></span> &raquo; <a href="/2010/07/18/setting-up-automation-with-cucumber-rspec-autotest.html">Setting up Automation with Cucumber, RSpec, Autotest in RoR 2.3.8</a></li>

<li><span><b>17 Aug 2010</b></span> &raquo; <a href="/2010/08/17/use-a-project-specific-ruby-version-rvm.html">Use a project specific Ruby version with RVM</a></li>

<li><span><b>26 Aug 2010</b></span> &raquo; <a href="/2010/08/26/thin-vs-unicorn.html">Benchmarking thin vs unicorn</a></li>

<li><span><b>17 Aug 2010</b></span> &raquo; <a href="/2010/08/17/use-a-project-specific-ruby-version-rvm.html">Use a project specific Ruby version with RVM</a></li>

<li><span><b>02 Aug 2010</b></span> &raquo; <a href="/2010/08/02/instant-blog-using-jekyll-and-heroku.html">Instant blog using Jekyll and Heroku</a></li>

<li><span><b>20 Aug 2010</b></span> &raquo; <a href="/2010/08/20/what-i-would-ve-loved-to-know-when-i-first-met-ruby.html">What I would've loved I had known when I first met Ruby</a></li>
Expand Down
2 changes: 1 addition & 1 deletion _site/2010/08/02/instant-blog-using-jekyll-and-heroku.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h1>Related Posts</h1>

<li><span><b>11 Jul 2010</b></span> &raquo; <a href="/2010/07/11/git-initial-configuration.html">First Things First... Our initial git configuration</a></li>

<li><span><b>20 Aug 2010</b></span> &raquo; <a href="/2010/08/20/what-i-would-ve-loved-to-know-when-i-first-met-ruby.html">What I would've loved I had known when I first met Ruby</a></li>
<li><span><b>06 Aug 2010</b></span> &raquo; <a href="/2010/08/06/our-git-workflow.html">Our git workflow</a></li>

</ul>
</div>
Expand Down
8 changes: 4 additions & 4 deletions _site/2010/08/06/our-git-workflow.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,15 @@ <h1>Our git workflow</h1>
<h1>Related Posts</h1>
<ul class="archives">

<li><span><b>11 Jul 2010</b></span> &raquo; <a href="/2010/07/11/git-initial-configuration.html">First Things First... Our initial git configuration</a></li>
<li><span><b>28 Jul 2010</b></span> &raquo; <a href="/2010/07/28/getting-started-with-rvm.html">Getting started with Ruby Version Manager (RVM)</a></li>

<li><span><b>18 Jul 2010</b></span> &raquo; <a href="/2010/07/18/setting-up-automation-with-cucumber-rspec-autotest.html">Setting up Automation with Cucumber, RSpec, Autotest in RoR 2.3.8</a></li>

<li><span><b>26 Aug 2010</b></span> &raquo; <a href="/2010/08/26/thin-vs-unicorn.html">Benchmarking thin vs unicorn</a></li>
<li><span><b>11 Jul 2010</b></span> &raquo; <a href="/2010/07/11/git-initial-configuration.html">First Things First... Our initial git configuration</a></li>

<li><span><b>28 Jul 2010</b></span> &raquo; <a href="/2010/07/28/getting-started-with-rvm.html">Getting started with Ruby Version Manager (RVM)</a></li>
<li><span><b>26 Aug 2010</b></span> &raquo; <a href="/2010/08/26/thin-vs-unicorn.html">Benchmarking thin vs unicorn</a></li>

<li><span><b>02 Aug 2010</b></span> &raquo; <a href="/2010/08/02/instant-blog-using-jekyll-and-heroku.html">Instant blog using Jekyll and Heroku</a></li>
<li><span><b>31 Aug 2010</b></span> &raquo; <a href="/2010/08/31/open-and-watch-specific-git-branches-using-gitx.html">Open and watch specific git branches using gitx</a></li>

</ul>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ <h1>Related Posts</h1>

<li><span><b>20 Aug 2010</b></span> &raquo; <a href="/2010/08/20/what-i-would-ve-loved-to-know-when-i-first-met-ruby.html">What I would've loved I had known when I first met Ruby</a></li>

<li><span><b>26 Aug 2010</b></span> &raquo; <a href="/2010/08/26/thin-vs-unicorn.html">Benchmarking thin vs unicorn</a></li>

<li><span><b>28 Jul 2010</b></span> &raquo; <a href="/2010/07/28/getting-started-with-rvm.html">Getting started with Ruby Version Manager (RVM)</a></li>

<li><span><b>26 Aug 2010</b></span> &raquo; <a href="/2010/08/26/thin-vs-unicorn.html">Benchmarking thin vs unicorn</a></li>

<li><span><b>17 Aug 2010</b></span> &raquo; <a href="/2010/08/17/use-a-project-specific-ruby-version-rvm.html">Use a project specific Ruby version with RVM</a></li>

</ul>
Expand Down
4 changes: 2 additions & 2 deletions _site/2010/08/17/use-a-project-specific-ruby-version-rvm.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ <h1>Related Posts</h1>

<li><span><b>26 Aug 2010</b></span> &raquo; <a href="/2010/08/26/thin-vs-unicorn.html">Benchmarking thin vs unicorn</a></li>

<li><span><b>13 Aug 2010</b></span> &raquo; <a href="/2010/08/13/fix-incompatibility-with-attachment-fu-and-acts-as-list.html">Improve performance between attachment_fu and acts_as_list</a></li>
<li><span><b>11 Jul 2010</b></span> &raquo; <a href="/2010/07/11/git-initial-configuration.html">First Things First... Our initial git configuration</a></li>

<li><span><b>20 Aug 2010</b></span> &raquo; <a href="/2010/08/20/what-i-would-ve-loved-to-know-when-i-first-met-ruby.html">What I would've loved I had known when I first met Ruby</a></li>
<li><span><b>13 Aug 2010</b></span> &raquo; <a href="/2010/08/13/fix-incompatibility-with-attachment-fu-and-acts-as-list.html">Improve performance between attachment_fu and acts_as_list</a></li>

</ul>
</div>
Expand Down
2 changes: 2 additions & 0 deletions _site/2010/08/26/thin-vs-unicorn.html
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,8 @@ <h2>Machine used:</h2>
<div class="previous span-8"><a href="/2010/08/20/what-i-would-ve-loved-to-know-when-i-first-met-ruby.html"><< What I would've loved I had known when I first met Ruby</a></div>


<div class="next span-8 last"><a href="/2010/08/31/open-and-watch-specific-git-branches-using-gitx.html">Open and watch specific git branches using gitx >></a></div>

</div>
</div>
<div class="post prepend-1">
Expand Down
180 changes: 180 additions & 0 deletions _site/2010/08/31/open-and-watch-specific-git-branches-using-gitx.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Crowd Interactive Tech Blog :: Open and watch specific git branches using gitx</title>
<link rel="stylesheet" href="/stylesheets/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="/stylesheets/print.css" type="text/css" media="print" />
<link rel="stylesheet" href="/stylesheets/styles.css" type="text/css" media="screen" />
<link rel="stylesheet" href="/stylesheets/syntax.css" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="RSS Feed for blog.crowdint.com" href="http://feeds.feedburner.com/CrowdInteractiveTechBlog" />
<!--[if lt IE 8]><link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17527068-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

</head>
<body>
<div class="container">
<div id="empty-header">
<a href="/"><img src="/images/logo_03.png" id="logoHead" width="227" height="74" alt="LogoHead" /></a>
</div>
<div class="span-24 append-bottom testGlow">
<div class="round-top span-24">
&nbsp;
</div>
<div id="white-body" class="span-24">
<div class="left-side span-17">
<div class="post prepend-1">
<h1>Open and watch specific git branches using gitx</h1>
<p class="author">
<span class="date"><b>Aug 31</b><br />2010</span>
</p>
<div class="body prepend-1 append-1">
<div class="gravatar span-3"><img src="http://www.gravatar.com/avatar/d32b52ec6403614b1adf3e648cbbe584" class="avatar" alt="Avatar" /></div>
<p>It happens, the project and the team grows, and now, there's a bunch of branches in your git repo. It's called <em>branchitis</em>, and it happens to everyone at some point.</p>

<p>If you're lucky enough to be working on a Mac, odds are that you're using <a href="http://gitx.frim.nl/">gitx</a> to watch over your git repos. You're not?! Shame on you.</p>

<p>Anyway, so, you open gitx, and all you see is a bowl of spaghetti</p>

<p><img src="/images/2010/08/31/a.jpg" alt="Bowl of Spaghetti" /></p>

<p>So, if you want to see a specific branch, you can call gitx from the command line and specify the branch you want to see</p>

<div class="highlight"><pre><code class="bash"><span class="nv">$ </span>gitx feature2
</code></pre>
</div>


<p><img src="/images/2010/08/31/b.jpg" alt="One branch" /></p>

<p>Nothing out of this world here, since you can do the same thing by using the built in dropdown on gitx to select the branch you want to see, but, did you know that you can specify more than one branch?</p>

<p>So, let's say you want to merge the <em>feature2</em> and the <em>feature5</em> branch, but first, you want to see how the branches are related. You can call gitx from the command line and specify <em>both</em> branches as the arguments.</p>

<div class="highlight"><pre><code class="bash"><span class="nv">$ </span>gitx feature2 feature5
</code></pre>
</div>


<p>Then you'd get something like this:</p>

<p><img src="/images/2010/08/31/c.jpg" alt="Two branches" /></p>

<p>Cool! You can actually read this first hand, and it's faster than trying to descipher the spaguhetti.</p>

<p>In case you're wondering, yes, you can specify 3 branches, or as many as you'd like to see. Go ahead, try it out.</p>

<p>Hope this helps you in some way,</p>

<p>Cheers.</p>

<div class="author_box">
<p><b>Author:</b> David Padilla | david@crowdint.com</p>
</div>
<div class="tweet">
<a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</div>
<div id="disqus_thread"></div>
<script type="text/javascript">
/**
* var disqus_identifier; [Optional but recommended: Define a unique identifier (e.g. post id or slug) for this thread]
*/
// var disqus_developer = 1;
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://crowdinttech.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript=crowdinttech">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
<div class="nav_links span-16">

<div class="previous span-8"><a href="/2010/08/26/thin-vs-unicorn.html"><< Benchmarking thin vs unicorn</a></div>


</div>
</div>
<div class="post prepend-1">
<h1>Related Posts</h1>
<ul class="archives">

<li><span><b>11 Jul 2010</b></span> &raquo; <a href="/2010/07/11/git-initial-configuration.html">First Things First... Our initial git configuration</a></li>

<li><span><b>06 Aug 2010</b></span> &raquo; <a href="/2010/08/06/our-git-workflow.html">Our git workflow</a></li>

<li><span><b>28 Jul 2010</b></span> &raquo; <a href="/2010/07/28/getting-started-with-rvm.html">Getting started with Ruby Version Manager (RVM)</a></li>

<li><span><b>17 Aug 2010</b></span> &raquo; <a href="/2010/08/17/use-a-project-specific-ruby-version-rvm.html">Use a project specific Ruby version with RVM</a></li>

<li><span><b>18 Jul 2010</b></span> &raquo; <a href="/2010/07/18/setting-up-automation-with-cucumber-rspec-autotest.html">Setting up Automation with Cucumber, RSpec, Autotest in RoR 2.3.8</a></li>

</ul>
</div>
</div>
<div class="right-side span-5 last prepend-1">
<h1><a href="/">Blog Home</a></h1>
<h1>About Crowd Interactive</h1>
<p class="append-1 about">Crowd Interactive is an American web design and development company that happens to work in Colima, Mexico... <a href="/about.html">Read More...</a></p>
<h1>Our Favorite Sites</h1>
<ul>
<li><a href="http://www.crowdint.com">Crowd Interactive</a></li>
<li><a href="http://rubyonrails.org">Ruby on Rails</a></li>
<li><a href="http://ruby-lang.org">Ruby-Lang</a></li>
<li><a href="http://github.com/crowdint">Github</a></li>
</ul>
<h1>Stuff we've built</h1>
<ul>
<li><a href="http://www.modcloth.com">ModCloth</a></li>
<li><a href="http://www.creativeallies.com">Creative Allies</a></li>
<li><a href="http://www.nameframe.com">Nameframe</a></li>
<li><a href="http://github.com/crowdint/rails3-jquery-autocomplete">Rails3-jQuery-Autocomplete</a></li>
<li><a href="http://github.com/crowdint/rankstar">rankstar</a></li>
<li><a href="http://github.com/crowdint/blog.crowdint.com">This site's source code</a></li>
</ul>
<h1>Older Posts</h1>
<ul>
<li><a href="/archive.html">Archive</a></li>
</ul>

Site Powered by <a href="http://github.com/mojombo/jekyll">Jekyll</a>

</div>
</div>
<div class="round-bottom span-24">
&nbsp;
</div>
</div>

</div>
<div id="footer">
<div class="copyContent" >
<p class="copy">Copyright &copy; 2010, Crowd Interactive. All rights reserved.</p>
</div>
</div>
<script type="text/javascript">
var disqus_shortname = 'crowdinttech';
(function () {
var s = document.createElement('script'); s.async = true;
s.src = 'http://disqus.com/forums/crowdinttech/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
</body>
</html>
2 changes: 2 additions & 0 deletions _site/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
<h1>Archives</h1>
<ul class="archives">

<li><span><b>31 Aug 2010</b></span> &raquo; <a href="/2010/08/31/open-and-watch-specific-git-branches-using-gitx.html">Open and watch specific git branches using gitx</a></li>

<li><span><b>26 Aug 2010</b></span> &raquo; <a href="/2010/08/26/thin-vs-unicorn.html">Benchmarking thin vs unicorn</a></li>

<li><span><b>20 Aug 2010</b></span> &raquo; <a href="/2010/08/20/what-i-would-ve-loved-to-know-when-i-first-met-ruby.html">What I would've loved I had known when I first met Ruby</a></li>
Expand Down
Loading

0 comments on commit 5f619e8

Please sign in to comment.