1. 13
    Practical Git: Filter commit history with git log arguments
    6m 49s

Practical Git: Filter commit history with git log arguments

Trevor Miller
InstructorTrevor Miller

Share this video with your friends

Send Tweet

In the last lesson, we learned how to format the git log output; in this lesson we will learn how to filter down to a specific set of commits. By default, git log shows every commit in a repo. We will walk through using a bunch of options to filter our git log commits to a more meaningful set (-n, --after, --before, --author, --grep, -S, -G, --no-merges, {ref}..{ref}, {files}). We will also show how all of the formatting and filtering options can be composed together to query exactly what you are looking for in your commit history.

Chester Rivas
Chester Rivas
~ 5 years ago

That was fantastic. Very useful git log arguments. You can start to get an understanding how programs like SourceTree and WebStorm build their integration leveraging all these commands.

Trevor Miller
Trevor Millerinstructor
~ 5 years ago

Thanks Chester!

PHILIPPE LEGER
PHILIPPE LEGER
~ 4 years ago

Didn't know about git log --graph ! Killer feature! Thank you.

Trevor Miller
Trevor Millerinstructor
~ 4 years ago

Sweet - always like learning those little tips. Thanks for watching.

Nitin
Nitin
~ 4 years ago

Awesome course! Thank you Trevor