CopyCommandCopyCommand
Default

git restore --staged .

Summary

Unstages files without deleting your changes.

Command

Windows PowerShell

Run in PowerShellWindows PowerShell
git restore --staged .

Related commands