Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
johnisgood
· 2y ago · 0 comments
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.
Comments
[–]
jeroen
2y ago
When it shows you a hunk that's bigger than you like, you can use 's' to split it into smaller hunks.
[–]
johnisgood
OP
2y ago
Thank you!
[–]
harry_ord
2y ago
Cherrypick (-p) is wonderful. A command I also like is rebase interactive(-I)
Git rebase -i HEAD~[number of commits]
[–]
johnisgood
OP
2y ago
Yeah, I use `git rebase -i HEAD~n` a lot.