Skip to content
Browse files

Add --color and shell alias

  • Loading branch information...
1 parent 8e33695 commit 2fff9dfd4d9b1077209b8ffeb3b38c784c52b345 @geeksam committed May 8, 2012
Showing with 9 additions and 1 deletion.
  1. +9 −1 content/sections/graphs-and-git/visualizing-your-git-repository.txt
View
10 content/sections/graphs-and-git/visualizing-your-git-repository.txt
@@ -43,7 +43,15 @@ If you want to see branch and tag labels, add <code class="inline">--decorate</c
***(Thanks again to <%= twitter_user('JRGarcia') %> for the <code class="inline">--decorate</code> tip!)***
-Or, you can use GitX to see all of the above in a cleaner graphical view:
+You can also add <code class="inline">--color</code> to pretty up the display a bit more *(sorry, no time to take a screenshot as I add this)*:
+
+<code>git log --oneline --abbrev-commit --branches=* --graph --decorate --color</code>
+
+And, in fact, I have a shell alias that does all of this:
+
+<code>alias gg='git log --oneline --abbrev-commit --branches=* --graph --decorate --color'</code>
+
+But mostly, I just use GitX, which shows all of the same information in a cleaner graphical view:
<div class="wp-caption">
<img src="/assets/images2/gitx-visualization.png" class="no-shadow" />

0 comments on commit 2fff9df

Please sign in to comment.
Something went wrong with that request. Please try again.