Re: Feature Request - Unique commits list
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 28, 2023, 14:07 UTC
- Message-ID
- <xmqqbkdml7b8.fsf@gitster.g>
- In-Reply-To
- <CAJ-L=uAjXB67Zx1BPpdJYF_y1RS+UqwpyTMF1F4o3yO+1o76vg@mail.gmail.com>
Saurabh Sonar <saurabh.sonar120@gmail.com> writes:
> After merging the master branch into my local it is hard to find my > own commits in git history.
I suspect the above may be the other way around (i.e., after the upstream takes some but not all of my changes into their 'master' branch, I want to find out what remaining topics from me are still not accepted by them), but anyway, doesn't something along the lines of
$ git log --branches --not origin/master
work for you? It asks
* Please list commits ("git log") * The commits to be listed should be discovered by traversing the
history starting from my branch tips ("--branches") * But I am not interested in those commits that can be reached from
the 'master' branch of my upstream ("--not origin/master").