From: Johannes Sixt <j6t@kdbg.org>
To: in-git-vger@baka.org
Cc: "ryan@iridiumsuite.com" <ryan@iridiumsuite.com>, git@vger.kernel.org
Subject: Re: need to create new repository initially seeded with several branches
Date: Wed, 31 Aug 2011 19:48:08 +0200 [thread overview]
Message-ID: <4E5E73D8.4040104@kdbg.org> (raw)
In-Reply-To: <201108311540.p7VFen5S015756@no.baka.org>
Am 31.08.2011 17:40, schrieb in-git-vger@baka.org:
> # Cause git to delete all files in the internal index
> git read-tree --reset -i 4b825dc642cb6eb9a060e54bf8d69288fbee4904
> # Cause git to delete all files in the working directory
> git clean -dfx
> ...
> The only "magic" is the read-tree/git-clean stuff. The 4b82… value is
> the SHA of an empty tree. It could be replaced by...
... a simple
git rm -rf .
-- Hannes
next prev parent reply other threads:[~2011-08-31 17:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-31 15:25 need to create new repository initially seeded with several branches ryan
2011-08-31 15:40 ` in-git-vger
2011-08-31 16:10 ` Ryan Wexler
2011-08-31 16:21 ` in-git-vger
2011-08-31 17:48 ` Johannes Sixt [this message]
2011-08-31 16:14 ` Brandon Casey
2011-08-31 16:54 ` Jeff King
2011-08-31 17:01 ` Brandon Casey
2011-08-31 17:09 ` Ryan Wexler
[not found] ` <uvMkLVapQYcSvOHVhcHX8CqGzEDajPEPvBbkL_DctzZvxm7aI-PjCQ@cipher.nrlssc.navy.mil>
[not found] ` <201108311624.p7VGOWWq018472@no.baka.org>
2011-08-31 16:45 ` Brandon Casey
2011-08-31 16:54 ` Brandon Casey
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=4E5E73D8.4040104@kdbg.org \
--to=j6t@kdbg.org \
--cc=git@vger.kernel.org \
--cc=in-git-vger@baka.org \
--cc=ryan@iridiumsuite.com \
/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.