skip to content
Alvin Lucillo

See the full commit history during git bisect

/ 1 min read

To see all logs during a git bisect session, use git log --oneline --all. The --all argument includes commits from refs.

Before git bisect:

git log --oneline

5220a3b (HEAD -> main) 10 document bisect goal
8513476 09 add production environment
d9ecdfa 08 add route placeholder
051ab2b 07 update home page copy
2ea59b6 06 upgrade Angular without Auth0 SDK
904820a 05 document project timeline
c1b8147 04 add environment config
b873da7 03 add home component
7adc7c4 02 add Auth0 Angular SDK
d128dce 01 create Angular 16 project

After git bisect find the first bad commit:

git log --oneline

2ea59b6 (HEAD) 06 upgrade Angular without Auth0 SDK
904820a 05 document project timeline
c1b8147 04 add environment config
b873da7 03 add home component
7adc7c4 02 add Auth0 Angular SDK
d128dce 01 create Angular 16 project

With git bisect session that is not yet reset:

git log --oneline --all

5220a3b (main) 10 document bisect goal
8513476 09 add production environment
d9ecdfa 08 add route placeholder
051ab2b 07 update home page copy
2ea59b6 (HEAD) 06 upgrade Angular without Auth0 SDK
904820a 05 document project timeline
c1b8147 04 add environment config
b873da7 03 add home component
7adc7c4 02 add Auth0 Angular SDK
d128dce 01 create Angular 16 project