cg-admin-lsobj(1)
=================

NAME
----
cg-admin-lsobj - list objects of the git repository

SYNOPSIS
--------
cg-admin-lsobj [OBJECT_TYPE]

DESCRIPTION
-----------
Lists IDs of all the objects of a given type found in the dircache.
Takes the object type as the first parameter, defaults to all objects.

The possible object types are:

blob::
	This object is a pure storage object containing some user data.

commit::
	This object ties directory hierarchies together into a DAG
	of revisions.

tree::
	This object is an object that ties one or more `blob` objects
	into a directory structure.

tag::
	This object ties a symbolic release tag to an object in the
	database.

See the git README for more information about the object types.

OPTIONS
-------


-h, --help::
	Print usage help.

EXAMPLE USAGE
-------------
Oh, I was messing with my HEADs and lost few commits, where on the earth
could they be...?

	for i in `cg-admin-lsobj commit | cut -f 1`; do
		echo -e "\n==================\nme $i"; cat-file commit $i;
	done

COPYRIGHT
---------
Copyright (C) Randy Dunlap, 2005
Copyright (C) Petr Baudis, 2005

SEE ALSO
--------
cg-admin-lsobj command is part of link:cogito.html[cogito(7)],
a toolkit for managing link:git.html[git(7)] trees.
