¿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
2 answers
git log --grep=<pattern>
Limit the commits output to ones with log message that matches the
specified pattern (regular expression).
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
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
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