¿Cómo buscar en los mensajes de confirmación usando la línea de comandos? [duplicar]


Posible Duplicado:
¿Cómo buscar en todas las confirmaciones del repositorio?

¿Hay alguna forma de buscar a través de los encabezados de confirmación usando la línea de comandos?

 240
Author: Community, 2010-09-30

2 answers

git log --grep=<pattern>
    Limit the commits output to ones with log message that matches the 
    specified pattern (regular expression).

--git help log

 351
Author: hobbs,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2014-09-05 12:14:46
git log --oneline | grep PATTERN
 168
Author: czchen,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2010-09-30 00:05:33