Re: How to trim the fat on my log graphs
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 22, 2014, 21:37 UTC
- Message-ID
- <xmqqtx9l2ggp.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAHd499Bq07mPTR=h-5Gj=NuEQ9WLnK2wL5nxTNMe=LFnKHmvzA@mail.gmail.com>
Robert Dailey <rcdailey.lists@gmail.com> writes:
Show 8 quoted lines
> git log log --graph --abbrev-commit --decorate --date=relative > --format=format:'%C(bold blue)%h%C(reset)%x09%C(bold > green)(%ar)%C(reset)%C(bold yellow)%d%C(reset) %C(dim > white)%an%C(reset) - %C(white)%s%C(reset)' --branches --remotes > ... > The goal is to weed out the really distant and irrelevant commits. I > really just want to see the commits that are closely related to my > current branch. Thanks in advance.
For a starter, how about dropping "--branches --remotes" from that command line? A merge from elsewhere will show as "Merge branch foo" which should be sufficient without the decoration.