git restore –staged path/filename.tsx
Ctrl+Shift+I, then Ctrl+Shift+P, inside “Run > type in “Capture full size screenshot”