git-rm'ing all dead files

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pazu
Date: Wednesday, January 24, 2007 - 9:17 am

I couldn't find an easy way to remove all "dead" files from the index, i.e.,
call git-rm on all files that are missing from the working copy.

Here's the scenario: I moved/added/removed a lot of files using a GUI tool; now
I need to reflect those changes in git. Using git-commit -a isn't the best
choice because there are local modifications I don't want to commit. I can use
"git add ." to automatically stage all new files, but how to the same for
removed files?

-- Pazu

-
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:
git-rm'ing all dead files, Pazu, (Wed Jan 24, 9:17 am)
Re: git-rm'ing all dead files, Johannes Schindelin, (Wed Jan 24, 9:25 am)
Re: git-rm'ing all dead files, Pazu, (Wed Jan 24, 9:51 am)
Re: git-rm'ing all dead files, Johannes Schindelin, (Wed Jan 24, 9:57 am)
Re: git-rm'ing all dead files, Pazu, (Wed Jan 24, 10:02 am)