git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gelonida <gelonida@gmail.com>
To: git@vger.kernel.org
Subject: export one commit id from a repository
Date: Sat, 22 May 2010 15:41:26 +0200	[thread overview]
Message-ID: <ht8mu6$hjo$1@dough.gmane.org> (raw)

Hi,

I'm having a bare git repository on a server.

I'd like to be able to concurrently (multiuser) create tar files from
certain commmit ids.

How can I do this most efficiently.


How I do this today:
- ssh to the server.
- clone the bare repository to a temp directory.
- checkout a certain version.
- remove the .git directory
- tar it up
- scp it to my local host
- remove the temp directory and the tar file

svn had the command 'export'


Thanks a lot for help or pointing me to existing scripts / tools.

             reply	other threads:[~2010-05-22 13:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-22 13:41 Gelonida [this message]
2010-05-22 13:50 ` export one commit id from a repository Abhijit Menon-Sen
2010-05-23 10:08   ` Gelonida

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ht8mu6$hjo$1@dough.gmane.org' \
    --to=gelonida@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).