snippets/old_snippets/git-discard-unstaged-changes.en.md

371 B

title seo_description date draft snippet_types
discard unstaged changes Snippet explaining how to disgard unstage git changes. 2022-09-06T14:01:59+02:00 false
git

Have a bunch of changes staged and want to drop the rest? Easy:

$ git restore .

source