--- title: "discard unstaged changes" seo_description: "Snippet explaining how to disgard unstage git changes." date: 2022-09-06T14:01:59+02:00 draft: false snippet_types: - git --- Have a bunch of changes staged and want to drop the rest? Easy: ```shell $ git restore . ``` [source](https://stackoverflow.com/questions/52704/how-do-i-discard-unstaged-changes-in-git)