All of lore.kernel.org
 help / color / mirror / Atom feed
* Recursive remove
@ 2006-01-13 13:21 Peter Eriksen
  2006-01-13 14:03   ` sean
  2006-01-13 17:37 ` Junio C Hamano
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Eriksen @ 2006-01-13 13:21 UTC (permalink / raw)
  To: git

Hello,

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?

Regards,

Peter

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-01-13 19:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2006-01-13 17:56   ` sean
2006-01-13 17:56     ` sean
2006-01-13 19:51       ` Junio C Hamano

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.