From: Andreas Ericsson <ae@op5.se>
To: Gennady Kushnir <genkush@rujel.net>
Cc: git@vger.kernel.org
Subject: Re: publish since current state?
Date: Mon, 17 Nov 2008 08:21:28 +0100 [thread overview]
Message-ID: <49211B78.50204@op5.se> (raw)
In-Reply-To: <96ed5eac0811161242o4c800e37u7c96872a9a4351ef@mail.gmail.com>
Gennady Kushnir wrote:
> Hello list.
> I'm going to publish my work into online public repository.
> I have several months of previous history in my local git repo. And I
> don't want to make it all public.
> Is it possible to publish just a shallow copy of my repository storing
> my current tree?
Yes. Look for 'grafts' in the documentation. You'll have to create a
new repository containing only the most recent code first, and then
create the grafts-file in that repository and copy the object database
from the old repository into the new one.
> I'd also like to keep my local history private but push new commits
> from it into that online repo.
>
The grafts solution will work like that, assuming you don't publish
your grafts-file.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
next prev parent reply other threads:[~2008-11-17 7:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-16 20:42 publish since current state? Gennady Kushnir
2008-11-17 7:21 ` Andreas Ericsson [this message]
2008-11-17 10:52 ` Gennady Kushnir
2008-11-17 11:44 ` Andreas Ericsson
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=49211B78.50204@op5.se \
--to=ae@op5.se \
--cc=genkush@rujel.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.