How to unstage a file that has been added by mistake
git restore --stage file
Last updated 4 years ago
Was this helpful?