From: Junio C Hamano <junkio@cox.net>
To: "Peter Eriksen" <s022018@student.dtu.dk>
Cc: git@vger.kernel.org
Subject: Re: Recursive remove
Date: Fri, 13 Jan 2006 09:37:54 -0800 [thread overview]
Message-ID: <7virso9ggd.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <20060113132119.GB23655@ebar091.ebar.dtu.dk> (Peter Eriksen's message of "Fri, 13 Jan 2006 14:21:19 +0100")
"Peter Eriksen" <s022018@student.dtu.dk> writes:
> A way to recursively remove a directory /Some/Dir/ is a follows:
>
> git ls-files -z Some/Dir >rmfiles
> git update-index -z --force-remove --stdin <rmfiles
> git commit -a -m "Remove directory Some/Dir"
> rm -rf Some/Dir
>
> What is a better way to do it?
$ rm -fr Some/Dir; git commit -a -m 'Remove'
perhaps?
next prev parent reply other threads:[~2006-01-13 17:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-13 13:21 Recursive remove Peter Eriksen
2006-01-13 14:03 ` sean
2006-01-13 14:03 ` sean
2006-01-13 17:37 ` Junio C Hamano [this message]
2006-01-13 17:56 ` sean
2006-01-13 17:56 ` sean
2006-01-13 19:51 ` Junio C Hamano
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=7virso9ggd.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
--cc=s022018@student.dtu.dk \
/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.