4 ms·
Rebase is incredibly useful for me because I commit on every save and squash my commits before submitting for PRs (if working on a team). I commit on every save
by nunez 9y ago
Rebase is incredibly useful for me because I commit on every save and squash my commits before submitting for PRs (if working on a team). I commit on every save for three reasons:
1. I can easily undo small mistakes this way,
2. It makes it easy for me to pick up what I've done the last time I worked with that codebase, and
3. It makes it easier for me to tell a comprehensive story when I'm ready to submit my PR.
That said, I do see the authors point about rebasing onto a branch with dependencies.
- jmah 9y ago"rebase" (like many terms in git) has multiple implications. It sounds like you're advocating for squashing your commits / cleaning up your history, which I don't think anyone argues against. The linked post argues against re-parenting those changes.