git restore --staged
Removes
index.html
file from staging area
git restore --staged index.html
Removes all files from staging area
git restore --staged .
Alternative command is:
git reset HEAD index.html  /  git reset HEAD .
by Valeri Tandilashvili
4 years ago
Git
1
Pro tip: use ```triple backticks around text``` to write in code fences