> From: python.beggine...@gmail.com
> 
> I am trying to grep for git commit msg in git log...once I do git log..the 
> log is really huge?is there a way to get only the last 100 commits or is 
> there an efficient way to search commit msg in git log ?suggestions please?

If your goal is to find a single commit with a particular phrase in
the commit message, my approach would be put redirect the output of
"git log" into a file, read the file into an editor, and search for
the desired phrase.  Hmmm...

Perhaps this option to "git log" helps:

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

I found that by searching the "git-log" manual page for "message".

Dale

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to