Y
Hacker News
new
|
ask
|
show
|
jobs
by
johnisgood
643 days 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.
1 comments
jeroen
643 days ago
When it shows you a hunk that's bigger than you like, you can use 's' to split it into smaller hunks.
link
johnisgood
643 days ago
Thank you!
link
harry_ord
643 days ago
Cherrypick (-p) is wonderful. A command I also like is rebase interactive(-I)
Git rebase -i HEAD~[number of commits]
link
johnisgood
643 days ago
Yeah, I use `git rebase -i HEAD~n` a lot.
link