Re: Finding list of commit object

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

 



On Mon, Mar 26, 2012 at 08:22, Anjib Mulepati <anjibcs@xxxxxxxxxxx> wrote:
> I was doing some research on git objects. I understand that each object is
> represented with hash code and we can find the type of object with git cat
> command. I was wondering is there any command we can give to find the list
> of commit object (or any other object type) in current project without doing
> cat on each and every object inside .git/objects/

git rev-list --all

That will list all commits, starting from each current branch or tag
and walking backwards through history.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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]