Remove Unwanted File Change

TODO: collapasable, copyable, download, etc

I accidentally commited some files. How can I remove their changes from my last commitI accidentally commited some files. How can I remove their changes from my last commit.

For example, I did want to commit app/src/foo But I didn't want benchmark/bar

Remove Unwanted File Change created at Tue Jan 20 1970 19:13:17 GMT+0000 (Coordinated Universal Time)

Related Chats

Change Author Interactive Rebase 0.452

Sharing Git Hooks Methods 0.388

Fixing PRs after rebasing 0.381

Change Git Commit Date 0.367

Git LFS Issues Prevention 0.348

Submodule Changes in PR 0.327

Clean Node Modules Efficiently 0.296

Git Diff After Rebase 0.291

Uninstalling next-auth Issues 0.286