login
Header Space

 
 

Re: automatically removing missing files beneath a directory

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Geoffrey Irving <irving@...>
Cc: <git@...>
Date: Thursday, May 8, 2008 - 12:44 pm

On Thu, May 08, 2008 at 09:39:22AM -0700, Geoffrey Irving wrote:


See "git add -u", which will update the status of all already-tracked
files in paths you specify. Note that this will also stage changes in
modified files. If you truly want to just mark all removed files, you
can do something like:

  git ls-files --deleted -z | xargs -0 git rm

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
automatically removing missing files beneath a directory, Geoffrey Irving, (Thu May 8, 12:39 pm)
Re: automatically removing missing files beneath a directory, Jeff King, (Thu May 8, 12:44 pm)
speck-geostationary