How to unstage a file that has been added by mistake
git restore --stage file
Last updated 3 years ago