3 ms·
It may not be the most mnemonic but it clearly says right in the CLI what you're supposed to do (use "git restore --staged <file>..." to unstage)
by cerved 5y ago
It may not be the most mnemonic but it clearly says right in the CLI what you're supposed to do
(use "git restore --staged <file>..." to unstage)
- rileymat2 5y agoIt looks like I get that message when I do a git status, not the git add. Also, it looks like "restore" was not added until august 2019. And I have not used it, but will in the future! But this does not exactly help the conceptual issues, because now we have `git revert`, `git reset`, and `git restore`. From an english concept perspective those words are all very similar in meaning.