Re: [RFC] git rm -u
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Feb 25, 2013, 19:39 UTC
- Message-ID
- <vpqliac41zf.fsf@grenoble-inp.fr>
- In-Reply-To
- <CALWbr2y-CN9A346avc4AG+FN9NHgPXKvWuU-nbcyjt08DavVjw@mail.gmail.com>
Antoine Pelisse <apelisse@gmail.com> writes:
Show 5 quoted lines
>> "git rm" really seems to be a better place for removing files from the >> index. > > Then, I don't exactly understand the meaning of git-rm but being a > _shortcut_ for "remove and stage".
"git rm --cached" is exactly "remove from index".
And even without --cached, as you notice yourself, it does a "remove and stage [removal]", so why would it be inappropriate to stage a removal?
-- Matthieu Moy http://www-verimag.imag.fr/~moy/