Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: Recursive remove

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:16

Possibly related (same subject, not in this thread)

"Peter Eriksen" [off-list ref] 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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help