Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, git cherry-pick is basically just git diff | git apply. And rebase is just cherry-picking many commits.


Exactly. And the other day I did exactly that with piping diff through apply so I had more control over conflicts I was hitting. Suspect all the years in svn just make it easier for me to think of it that way rather than some magical operation.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: