git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: just fetching HEAD of repository

From
Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Date
May 23, 2007, 17:12 UTC
Message-ID
<8b65902a0705231012p7b711094qc855a2805f2fd255@mail.gmail.com>
In-Reply-To
<566574ef0705210201wc5c0adbmaa22d197b16bf72d@mail.gmail.com>

Are you looking for something to "shallow clone" the remote git repo (as replyed by Matthieu, or something more similar to the "cvs export" or "svn export" commands (ie exporting a current snapshot, not a working repo)?

On 5/21/07, Stian Haklev <shaklev@gmail.com> wrote:
Show 16 quoted lines
> After checking all the docs, I am still wondering if there is a way to
> get only the last commit from a given git repository. Sometimes I
> really just want the latest code so I can compile it - and let's say
> they are not running gitweb, or it is not convenient to go to gitweb
> and ask for a tar package to be made? This is especially relevant in
> countries with slow internet connection - here in Indonesia it takes
> me an hour to clone the git repository for example, never mind let's
> say the Linux kernel.
>
> Thank you
> Stian
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
-- 
Guilhem BONNEFILLE
-=- #UIN: 15146515 JID: guyou@im.apinc.org MSN: guilhem_bonnefille@hotmail.com
-=- mailto:guilhem.bonnefille@gmail.com
-=- http://nathguil.free.fr/
Previous: Matthieu MoyNext: Jakub Narebski
Message 3 of 4 in “just fetching HEAD of repository”
  1. Stian HaklevMay 21, 2007
  2. Matthieu MoyMay 21, 2007
  3. Guilhem BonnefilleMay 23, 2007
  4. Jakub NarebskiMay 25, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.