Re: git rm --cached should be git rm --cache or git rm --stage

2016-08-20 Thread Philip Oakley
From: "Zenaan Harkness" On Sat, Aug 20, 2016 at 08:14:25PM +0100, Philip Oakley wrote: From: "Zenaan Harkness" > > Please CC me :) > or perhaps something like: > "does not unstage a file, it actually stages the removal of the > file(s) from the repo

Re: git rm --cached should be git rm --cache or git rm --stage

2016-08-20 Thread Zenaan Harkness
On Sat, Aug 20, 2016 at 08:14:25PM +0100, Philip Oakley wrote: > From: "Zenaan Harkness" > > > > Please CC me :) > > or perhaps something like: > > "does not unstage a file, it actually stages the removal of the > > file(s) from the repo (assuming it was already committed

Re: git rm --cached should be git rm --cache or git rm --stage

2016-08-20 Thread Philip Oakley
From: "Zenaan Harkness" Please CC me :) From man git-rm: --cached Use this option to unstage and remove paths only from the index. Working tree files, whether modified or not, will be left alone. This wording is unclear and dangerous, and ought be cleaned up somehow.

Re: git rm --cached should be git rm --cache or git rm --stage

2016-08-20 Thread Junio C Hamano
Zenaan Harkness writes: > From man git-rm: > > --cached > Use this option to unstage and remove paths only from the index. > Working tree files, whether modified or not, will be left alone. > > This wording is unclear and dangerous, and ought be cleaned up somehow. I

git rm --cached should be git rm --cache or git rm --stage

2016-08-20 Thread Zenaan Harkness
Please CC me :) >From man git-rm: --cached Use this option to unstage and remove paths only from the index. Working tree files, whether modified or not, will be left alone. This wording is unclear and dangerous, and ought be cleaned up somehow. Probably also the option name should

Re: git rm --cached should be git rm --cache or git rm --stage

2016-08-20 Thread Zenaan Harkness
Please CC me :) > From man git-rm: > > --cached > Use this option to unstage and remove paths only from the index. > Working tree files, whether modified or not, will be left alone. > > > This wording is unclear and dangerous, and ought be cleaned up somehow. > > Probably also the