Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> git log @ ^main

You can also use `git log main..` to show the commits in HEAD but not in main. I prefer the order of the arguments in the OLD..NEW syntax for the commit range (OLD, NEW] over the reversed order with separate arguments.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: