Removes the named file from the index, turning it back into a modified or untracked file while keeping its content. It is the classic unstage command, now superseded by git restore --staged. Nothing in the working tree changes.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.