Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zokier
on Dec 17, 2020
|
parent
|
context
|
favorite
| on:
Commits are shapshots, not diffs
Yeah, git cherry-pick is basically just git diff | git apply. And rebase is just cherry-picking many commits.
aidos
on Dec 17, 2020
[–]
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: