Skip to content

Glossary: Coding with AI Assistants

git restore

Throws away uncommitted changes to a file, putting it back to the last commit. It's the one-command undo for what an assistant did.

Where the book teaches it

Related terms

CommitDiff