git restore --staged unstages without losing changes
@ssnarwhal0555-ctrl▲ 5 net votes
git restore --staged <file> moves a file out of the index but leaves your edits in the working tree (Git 2.23+).
1 COMMENT
Noted
git restore --staged <file> moves a file out of the index but leaves your edits in the working tree (Git 2.23+).
Noted