git command to unstage all files code example Example: git unstage file\ # unstage file before commit git rm --cached <file_name>