Re: How to get kernel source release from git tree?

H. Peter Anvin
2006-06-20T05:17:28Z

Followup to: <4497830B.5010402@163.com>
By author: Walkinair <walktodeath@163.com>
In newsgroup: linux.dev.kernel
>
> Hi, this may be a stupid question, sorry for this.
>
> I have kenel 2.6 git tree in my local box, usually through the following
> steps I get source release,
> 1. copy git repository to a new directory.
> 2. rm .git directory.
> 3. make config; make; make modules_install; make install
>
> I there any convinient git command or other ways to get kernel release
> from git repository?
>

If you have Cogito installed, use cg-export.

-hpa