Thread (6 messages) 6 messages, 4 authors, 2016-06-15

Re: git rm --cached

From: Remi Vanicat <hidden>
Date: 2016-06-15 22:43:46

Jing Xue [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help