SyntaxFix
Write A Post
Hire A Developer
Questions
You can simply use this command:
git restore --staged <file>