#029 git restore --staged name

How to remove a file from the staging area

The command git restore --staged name discards staged changes from file 'name'

Command Description
restore Command to restore the previous state
--staged Flag to check files on staging
name File name