Git tricks

October 18, 2011
By

Per chi come me usa git solo da riga di comando ci sono alcune configurazioni che possono venire comode:
Possiamo aggiungere una colorazione a vari output di git, per esempio quando listiamo i branches o lo status

  [color]
    ui = auto
  [color "branch"]
    current = yellow reverse
    local = yellow
    remote = green
  [color "diff"]
    meta = yellow bold
    frag = magenta bold
    old = red bold
    new = green bold
  [color "status"]
    added = yellow
    changed = green
    untracked = cyan

Dato che a volte l’output a console รจ bello verboso un po’ di colorazione male non fa

Tags: , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

ERROR: si-captcha.php plugin says GD image support not detected in PHP!

Contact your web host and ask them why GD image support is not enabled for PHP.

ERROR: si-captcha.php plugin says imagepng function not detected in PHP!

Contact your web host and ask them why imagepng function is not enabled for PHP.