title: How to trim commit comments in "git branch -avv"
body: <p>I wrote a bash function which do some handy tasks on entering a git repository on console. It also gives me an overview of all branches using <code>git branch -avv</code></p>
  
  <p>For my inconvenience, git is "flooding" me when writing the full changelog comments which often doesn't fit the console line width</p>
  
  <p>Trimming these with pipes like <code>cut -c-$(tput cols);</code> will remove coloring if enabled in git config ;(</p>
  
  <p><strong>The Answer</strong>: is there a way to configure git in a <em>native</em> way, to just output the first XX chars of the commit message? My goal is to archive this without need of further command line tools I don't know collogues have had installed them.</p>
  
  <hr>
  
  <p><strong>edit</strong>:
  Thanks to answer #2 (Max Nanasy): use of <code>--color</code> option will force coloring</p>