git unstage all staged files code example
Example 1: How do I show the changes which have been staged
git diff --staged # or you can use --cached (they are synoyms, see the source)
Example 2: how to remove all files from staging area git
git rm --cached -r .
Example 3: unstage staged files git
git reset HEAD file_path
Example 4: wsl ubuntu git status and the file are not staged
git config --global core.autocrlf true