Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
ht85
1y ago
0 comments
Share
You can also discard changes that way, e.g.:
git checkout -p -- .
0 comments
default
newest
oldest
johnisgood
1y ago
I will have to read about how to use it, because it shows some hunks on a page, and I do not want to stage all of them, for example.
jeroen
1y ago
When it shows you a hunk that's bigger than you like, you can use 's' to split it into smaller hunks.
1 more reply
j
/
k
navigate · click thread line to collapse