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

Isn't your tale more about squashing than rebasing?


Any subsequent commits and the branch are inherently rebased on the squashed commit.

Rebasing is kind of a short hand for cherry-picking, fixing up, rewording, squashing, dropping, etc. because these things don't make sense in isolation.


I guess my point is that I disagree that rebasing should be shorthand for all these things that aren't rebasing.


Well rebasing is exactly equivalent to moving the branch and then cherry-picking, and the others are among the commands available in rebase --interactive.

Personally i squash using git rebase -i




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

Search: