git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Recursive remove
@ 2006-01-13 13:21 Peter Eriksen
       [not found] ` <20060113090301.10e08670.seanlkml@sympatico.ca>
  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
     [not found] ` <20060113090301.10e08670.seanlkml@sympatico.ca>
2006-01-13 14:03   ` sean
2006-01-13 17:37 ` Junio C Hamano
     [not found]   ` <20060113125604.4ec91466.seanlkml@sympatico.ca>
2006-01-13 17:56     ` sean
2006-01-13 19:51       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).