From: Tikhon Tarnavski <t.t@unixforum.org>
To: git@vger.kernel.org
Subject: how to delete from history some files, and commits with them?
Date: Wed, 14 Jul 2010 15:46:48 +0000 (UTC) [thread overview]
Message-ID: <loom.20100714T170722-272@post.gmane.org> (raw)
Hello.
I'm using git for several small
projects, and now one of those pgojects
have to be divided into two independent
parts. So I want to divide git history
respectively. I can create two clones
and run filter-branch in both to delete
files. But I can't find how I may
delete empty commits after that.
Naturally, I'd prefer to do all process
automatically: removing unnecessary
files and deleting empty commits
without searching to its' hashes.
Can you suggest any solution?
next reply other threads:[~2010-07-14 16:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-14 15:46 Tikhon Tarnavski [this message]
2010-07-14 16:15 ` how to delete from history some files, and commits with them? Jonathan Nieder
2010-07-14 16:58 ` Тихон Тарнавский
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=loom.20100714T170722-272@post.gmane.org \
--to=t.t@unixforum.org \
--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.