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

Re: Creating a tarball out of a directory in a bare git repository

From
Julian Phillips <julian@quantumfyre.co.uk>
Date
Mar 1, 2010, 23:00 UTC
Message-ID
<5e95aba2186b1f37f9292dadc8134bb6@212.159.54.234>
In-Reply-To
<27750115.post@talk.nabble.com>

On Mon, 1 Mar 2010 14:47:45 -0800 (PST), jateeq <jawad_atiq@hotmail.com> wrote:

> Hello,
> 
> I am developing a web interface, part of which allows the user to
download
> a
> tarball of a directory (which is in a bare repostitory on the
filesystem)
> on
> clicking on a link.
[..snip..]
> I hope someone has a much simpler answer to this problem!
Have a look at "git archive":
http://www.kernel.org/pub/software/scm/git/docs/git-archive.html
-- 
Julian
Previous: jateeqNext: Randal L. Schwartz
Message 2 of 3 in “Creating a tarball out of a directory in a bare git repository”
  1. jateeqMar 1, 2010
  2. Julian PhillipsMar 1, 2010
  3. Randal L. SchwartzMar 1, 2010

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.