Re: [PATCH 2/2] doc/SubmittingPatches: show how to get a CLI commit summary

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ævar Arnfjörð Bjarmason  <avarab@xxxxxxxxx> writes:

>  The "Copy commit summary" command of gitk can be used to obtain this
> -format.
> +format, or this invocation of "git show":
>  
> +    git show -s --date=format:%Y-%m-%d --pretty='commit %h ("%s", %ad)' <commit>

I've seen (I think I stole it from Peff) this one recommended often
on the list, which is shorter:

    $ git show --date=short -s --pretty='format:%h ("%s", %ad)' <commit>







[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]