Re: git rm --cached
- From
- Remi Vanicat <remi.vanicat@laposte.net>
- Date
- Nov 3, 2007, 09:39 UTC
- Message-ID
- <87d4uris6y.dlv@vanicat.homelinux.org>
- In-Reply-To
- <20071102174140.vobtdjxfwsgoc040@intranet.digizenstudio.com>
Jing Xue <jingxue@digizenstudio.com> writes:
> 2. The FAQ entry "Why 'git rm' is not inverse of 'git add'" says "a > natural inverse of 'add' is 'un-add', and that operation is called 'rm > --cached',..." Now I realize that only applies to adding a new file, > but not changes on an existing file.
Well, so it seem that to think of "git rm --cached" as inverse to "git add" is also confusing. The FAQ entry should probably be rewrite. Or at least clarified.
-- Rémi Vanicat