git мягкий сброс головы
git reset --soft HEAD^
//resets head by 1
Filthy Fish
git reset --soft HEAD^
//resets head by 1
git restore --source=HEAD --staged --worktree -- aDirectory
# or, shorter
git restore -s@ -SW -- aDirectory