git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* automatically removing missing files beneath a directory
@ 2008-05-08 16:39 Geoffrey Irving
  2008-05-08 16:44 ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Geoffrey Irving @ 2008-05-08 16:39 UTC (permalink / raw)
  To: git

If I have a subdirectory in a git repository, and I remove some files
without telling git, is there is a simple way to automatically run the
equivalent of 'git rm' for all the missing files?  git commit -a would
work, except that I only want to remove files beneath a particular
subdirectory.  git add <directory> does the equivalent operation for
adding files, but I don't see a way to automatically remove them
without parsing the output of git status.

Thanks,
Geoffrey

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

end of thread, other threads:[~2008-05-08 17:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-08 16:39 automatically removing missing files beneath a directory Geoffrey Irving
2008-05-08 16:44 ` Jeff King
2008-05-08 17:12   ` Geoffrey Irving
2008-05-08 17:18     ` Jeff King
2008-05-08 17:19       ` Geoffrey Irving

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).