Do we have a convenient way to refer to a specific commit in an already filtered rev-list?
- From
- Tzu-Jung Lee <roylee17@gmail.com>
- Date
- Sep 24, 2011, 16:46 UTC
- Message-ID
- <CAEvN+1jPD53-e8a31g+iz6vMB0-e2LECjouBELkBOXBV5=oGBg@mail.gmail.com>
Hi Folks,
Do we have a convenient/symbolic way to refer to a specific commit of an already filtered rev-list? For example, I'm interested in the commits with some constraints:
git log somepath --author=someone
Without gui/tui tools, I have to frequently CUT & PASTE the commit-ID for further manipulation (show, cherry-pick, ...), and possibly repeat the parsing couple of times if I didn't save the output. I wonder if we have a convenient way to refer to the discrete commits? like HEAD~4, HEAD@{3} or something magic.
Thanks, Roy