discard unstaged changes

06-09-22

%

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

$ git restore .

source

- [ git]

all snippets