git restore --source=HEAD --staged --worktree -- mydir # or, shorter git restore -s@ -SW -- mydir That would replace both the index and working tree with HEAD content, like an reset --hard would, but for a specific path. Works on git annex as well