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