Navigating Through the git History Like a Boss

less than 1 minute read

Remembering which branch I’ve made a change on is sometimes difficult with 17 different feature branches on the go.

git log -p --grep "my change" --all

Will search across all branches for “my change”.

Sometimes just as useful is:

git log --all

Show the log in reverse chronological order across all branches.